forked from NatLibFi/Annif
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
93 lines (84 loc) · 2.11 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
[tool.poetry]
name = "annif"
version = "0.60.0-dev"
description = "Automated subject indexing and classification tool"
authors = ["National Library of Finland <[email protected]>"]
maintainers = [
"Osma Suominen <[email protected]>",
"Juho Inkinen <[email protected]>",
"Mona Lehtinen <[email protected]>",
]
license = "Apache-2.0"
readme = "README.md"
homepage = "https://annif.org"
repository = "https://github.com/NatLibFi/Annif"
documentation = "https://github.com/NatLibFi/Annif/wiki"
keywords = [
"machine-learning",
"text-classification",
"rest-api",
"code4lib",
"subject-indexing"
]
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent"
]
[tool.poetry.dependencies]
python = ">=3.8,<3.11"
connexion = {version = "2.14.*", extras = ["swagger-ui"]}
swagger_ui_bundle = "*"
flask = ">=1.0.4,<3"
flask-cors = "*"
click = "8.1.*"
click-log = "*"
joblib = "1.2.*"
nltk = "*"
gensim = "4.2.*"
scikit-learn = "1.1.1"
scipy = "1.8.*"
rdflib = ">=4.2,<7.0"
gunicorn = "*"
numpy = "1.23.*"
optuna = "2.10.*"
stwfsapy = "0.3.*"
python-dateutil = "*"
tomli = "2.0.*"
simplemma = "0.9.*"
fasttext-wheel = {version = "0.9.2", optional = true}
voikko = {version = "*", optional = true}
tensorflow-cpu = {version = "2.9.1", optional = true}
lmdb = {version = "1.3.0", optional = true}
omikuji = {version = "0.5.*", optional = true}
yake = {version = "0.4.5", optional = true}
spacy = {version = "3.3.*", optional = true}
[tool.poetry.dev-dependencies]
py = "*"
pytest = "*"
requests = "*"
codecov = "*"
coverage = "<=6.2"
pytest-cov = "*"
pytest-watch = "*"
pytest-flask = "*"
flake8 = "*"
bumpversion = "*"
black = "*"
isort = "*"
[tool.poetry.extras]
fasttext = ["fasttext-wheel"]
voikko = ["voikko"]
nn = ["tensorflow-cpu", "lmdb"]
omikuji = ["omikuji"]
yake = ["yake"]
spacy = ["spacy"]
[tool.poetry.scripts]
annif = "annif.cli:cli"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.isort]
profile = "black"
line_length = "88"
skip_gitignore = true