-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpyproject.toml
More file actions
81 lines (71 loc) · 1.9 KB
/
pyproject.toml
File metadata and controls
81 lines (71 loc) · 1.9 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
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "glinker"
version = "0.1.1"
description = "GLiNKER - A modular multi-layer entity linking framework"
readme = "README.md"
requires-python = ">=3.10"
license = {text = "Apache-2.0"}
authors = [
{name = "Knowledgator", email = "info@knowledgator.com"}
]
keywords = ["entity-linking", "nlp", "gliner", "spacy", "ner"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = [
"spacy>=3.7.0",
"gliner>=0.2.5",
"torch>=2.0.0",
"redis>=5.0.0",
"elasticsearch>=8.11.0",
"psycopg2-binary>=2.9.0",
"pydantic>=2.0.0",
"pyyaml>=6.0.0",
"tqdm>=4.65.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.4.0",
"pytest-cov>=4.1.0",
"black>=23.0.0",
"ruff>=0.1.0",
]
demo = [
"gradio>=4.0.0",
]
all = [
"glinker[dev,demo]",
]
[project.urls]
Homepage = "https://github.com/Knowledgator/GLinker"
Repository = "https://github.com/Knowledgator/GLinker"
Documentation = "https://github.com/Knowledgator/GLinker/blob/main/README.md"
[tool.setuptools]
package-dir = {"" = "src"}
[tool.setuptools.packages.find]
where = ["src"]
include = ["glinker*"]
[tool.setuptools.package-data]
glinker = ["py.typed"]
[tool.black]
line-length = 100
target-version = ["py310", "py311"]
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = "-v --cov=glinker --cov-report=term-missing"