-
Notifications
You must be signed in to change notification settings - Fork 22
/
pyproject.toml
117 lines (102 loc) · 2.9 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
[project]
name = "textdescriptives"
version = "2.8.2"
description = "A library for calculating a variety of features from text using spaCy"
authors = [
{ name = "Lasse Hansen", email = "[email protected]" },
{ name = "Kenneth Enevoldsen" },
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
]
keywords = [
"NLP",
"spaCy",
"text analysis",
"natural language processing",
"text features",
"text statistics",
"text descriptives",
"text analytics",
"text mining",
]
dependencies = [
"spacy[lookups]>=3.6.0",
"numpy>=1.20.0",
"pandas>=1.0.0",
"pyphen>=0.11.0",
"ftfy>=6.0.3",
"pydantic>=2.0",
]
requires-python = ">=3.8"
[project.urls]
homepage = "https://hlasse.github.io/TextDescriptives/"
repository = "https://github.com/HLasse/textdescriptives"
documentation = "https://hlasse.github.io/TextDescriptives/"
[project.optional-dependencies]
style = ["black==24.1.1", "pre-commit==3.6.0", "ruff==0.1.15", "mypy==1.8.0"]
tests = ["pytest>=7.1.3", "pytest-cov>=3.0.0"]
docs = [
"pydantic==2.1",
"sphinx>=5.3.0",
"furo==2022.12.7",
"sphinx-copybutton>=0.5.1",
"sphinxext-opengraph>=0.7.3",
"myst-nb>=0.6.0",
"sphinx_design>=0.3.0",
"autodoc_pydantic==2.1.0",
]
tutorials = [
"jupyter",
"seaborn",
"matplotlib",
"datasets>=2.8.0",
"scikit-learn>=1.1.1",
"ipython<=8.21.0",
]
sklearn = ["scikit-learn>=1.1.1"]
[project.readme]
file = "README.md"
content-type = "text/markdown"
[project.license]
file = "LICENSE"
name = "Apache License 2.0"
[tool.setuptools.package-data]
"*" = ["*/spam.csv"]
[tool.setuptools.packages.find]
where = ["src"]
[build-system]
requires = ["setuptools>=61.0.0", "wheel", "setuptools_scm"]
build-backend = "setuptools.build_meta"
[tool.coverage.run]
omit = ["**/tests/*", "**/_vendorized/*", "**/about.py"]
exclude_lines = [
"pragma: no cover",
# Don't complain about missing debug-only code:
"def __unicode__",
"def __repr__",
"if self.debug",
# Don't complain if tests don't hit defensive assertion code:
"raise AssertionError",
"raise NotImplementedError",
# Don't complain if non-runnable code isn't run:
"if 0:",
"if __name__ == .__main__.:",
]
[tool.semantic_release]
branch = "main"
version_toml = ["pyproject.toml:project.version"]
build_command = "python -m pip install build; python -m build"
[tool.ruff]
exclude = [".venv", ".env", ".git", "__pycache__"]