-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathpyproject.toml
More file actions
113 lines (100 loc) · 2.93 KB
/
pyproject.toml
File metadata and controls
113 lines (100 loc) · 2.93 KB
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
[build-system]
requires = ["setuptools>=61", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[project]
name = "simple_NER"
dynamic = ["version"]
description = "Rule-based Named Entity Recognition"
license = { text = "MIT" }
authors = [{ name = "jarbasAI", email = "jarbasai@mailfence.com" }]
maintainers = [{ name = "OpenJarbas Community", email = "jarbasai@mailfence.com" }]
readme = "readme.md"
requires-python = ">=3.10"
keywords = ["NER", "named-entity-recognition", "NLP", "rule-based", "regex", "entity-extraction"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Text Processing :: Linguistic",
"Typing :: Typed",
]
dependencies = [
"simplematch",
"quebra_frases>=0.3.7",
"ovos-date-parser",
"ovos-number-parser",
"stopwordsiso>=0.6.1",
"ahocorasick-ner>=0.1.1",
"setuptools>=82.0.1",
]
[project.optional-dependencies]
test = [
"pytest>=7.0",
"pytest-cov>=4.0",
"ovos-plugin-manager>=1.0.0",
]
dev = [
"pytest>=7.0",
"pytest-cov>=4.0",
"ruff>=0.1.0",
"mypy>=1.0",
"pre-commit>=3.0",
"ovos-plugin-manager>=1.0.0",
]
[project.urls]
Homepage = "https://github.com/OpenJarbas/simple_NER"
Repository = "https://github.com/OpenJarbas/simple_NER.git"
Issues = "https://github.com/OpenJarbas/simple_NER/issues"
Changelog = "https://github.com/OpenJarbas/simple_NER/blob/main/CHANGELOG.md"
[project.entry-points."opm.transformer.intent"]
simple-ner-transformer = "simple_NER.opm:SimpleNERIntentTransformer"
[tool.setuptools.dynamic]
version = {attr = "simple_NER.version.__version__"}
[tool.setuptools.packages.find]
include = ["simple_NER*"]
[tool.setuptools.package-data]
"*" = ["*.voc", "*.json", "*.txt"]
[tool.ruff]
target-version = "py310"
line-length = 88
lint.select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # Pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
"RUF", # ruff-specific rules
]
lint.ignore = ["E501"]
[tool.ruff.lint.isort]
known-first-party = ["simple_NER"]
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = false
disallow_incomplete_defs = false
check_untyped_defs = true
[tool.pytest.ini_options]
testpaths = ["test"]
python_files = ["test_*.py"]
python_functions = ["test_*"]
addopts = "-v --tb=short"
[tool.coverage.run]
source = ["simple_NER"]
branch = true
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"if __name__ == .__main__.:",
"def __repr__",
]