-
Notifications
You must be signed in to change notification settings - Fork 11
/
pyproject.toml
144 lines (129 loc) · 3.37 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
[build-system]
requires = [
"setuptools >= 61.0.0",
"wheel"
]
build-backend = "setuptools.build_meta"
[project]
name = "nlp_primitives"
readme = "README.md"
description = "natural language processing primitives for Featuretools"
dynamic = ["version"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"Topic :: Software Development",
"Topic :: Scientific/Engineering",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Operating System :: Unix",
"Operating System :: MacOS",
]
authors = [
{name="Alteryx, Inc.", email="[email protected]"}
]
maintainers = [
{name="Alteryx, Inc.", email="[email protected]"}
]
keywords = ["feature engineering", "data science", "machine learning", "natural language processing"]
license = {text = "BSD 3-clause"}
requires-python = ">=3.9,<4"
dependencies = [
"numpy >= 1.17.5",
"pandas >= 1.3.0",
"featuretools >= 1.5.0",
"nltk >= 3.4.5",
"scikit-learn >= 0.20.0",
]
[project.urls]
"Documentation" = "https://featuretools.alteryx.com"
"Source Code"= "https://github.com/alteryx/nlp_primitives/"
"Changes" = "https://github.com/alteryx/nlp_primitives/blob/main/release_notes.rst"
"Issue Tracker" = "https://github.com/alteryx/nlp_primitives/issues"
"Twitter" = "https://twitter.com/alteryxoss"
"Chat" = "https://join.slack.com/t/alteryx-oss/shared_invite/zt-182tyvuxv-NzIn6eiCEf8TBziuKp0bNA"
[project.optional-dependencies]
test = [
"pytest >= 7.1.2",
"pytest-cov >= 3.0.0",
"pytest-xdist >= 2.5.0",
]
dev = [
"ruff == 0.0.216",
"black[jupyter] == 22.12.0",
"pre-commit == 2.20.0",
"nlp_primitives[test]"
]
complete = [
"tensorflow >= 1.14.0, < 2.16.0",
"tensorflow_hub >= 0.4.0, < 0.16.0",
]
[project.entry-points."featuretools_plugin"]
nlp_primitives = "nlp_primitives"
[project.entry-points."featuretools_primitives"]
nlp_primitives = "nlp_primitives"
[tool.setuptools]
include-package-data = true
license-files = ["LICENSE"]
[tool.setuptools.packages.find]
namespaces = true
[tool.setuptools.package-data]
"*" = [
"*.txt",
"README.md",
]
"nlp_primitives" = [
"data/nltk-data/**/*",
]
[tool.setuptools.exclude-package-data]
"*" = [
"* __pycache__",
"*.py[co]",
"unpacked_sdist",
"dist",
]
[tool.setuptools.dynamic]
version = {attr = "nlp_primitives.version.__version__"}
[tool.pytest.ini_options]
addopts = "--doctest-modules"
testpaths = [
"nlp_primitives/tests/*"
]
filterwarnings = [
"ignore::DeprecationWarning",
"ignore::PendingDeprecationWarning"
]
[tool.ruff]
ignore = ["E501"]
select = [
# Pyflakes
"F",
# Pycodestyle
"E",
"W",
# isort
"I001"
]
src = ["nlp_primitives"]
[tool.ruff.per-file-ignores]
"__init__.py" = ["E402", "F401", "I001", "E501"]
[tool.coverage.run]
source = ["nlp_primitives"]
[tool.coverage.report]
exclude_lines =[
"pragma: no cover",
"def __repr__",
"raise AssertionError",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"if self._verbose:",
"if verbose:",
"if profile:",
"pytest.skip"
]