-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
133 lines (117 loc) · 3.36 KB
/
pyproject.toml
File metadata and controls
133 lines (117 loc) · 3.36 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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
[build-system]
requires = ["setuptools>=64", "setuptools_scm>=8"]
build-backend = "setuptools.build_meta"
[project]
name = "aymurai"
requires-python = "==3.10.*"
dynamic = ["version"]
authors = [
{ name = "datagenero.org", email = "aymurai@datagenero.org" },
{ name = "collective.ai", email = "info@collectiveai.io" },
]
maintainers = [
{ name = "jedzill4", email = "r@collectiveai.io" },
{ name = "jansaldo", email = "juli@collectiveai.io" },
]
description = "The backend API and machine learning models of AymurAI."
readme = "README.md"
license = { file = "LICENSE.md" }
# homepage = "https://github.com/AymurAI/backend"
keywords = [
"api",
"deep-learning",
"gender-equality",
"justice",
"document-analysis",
"openjustice",
"gender-data",
"platform",
]
classifiers = [
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
"Development Status :: 5 - Stable",
# Indicate who your project is intended for
"Intended Audience :: Developers",
"Intended Audience :: Lawyers",
"Intended Audience :: ONGs",
# Pick your license as you wish (see also "license" above)
"License :: OSI Approved :: MIT License",
# Specify the Python versions you support here.
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
]
dependencies = [
"requests>=2.32.3",
"numpy<2.0.0",
"more-itertools>=10.5.0",
"odfpy>=1.4.1",
"gdown==4.6.0",
"joblib>=1.4.2",
"textract==1.6.5",
"datetime_matcher @ git+https://github.com/jedzill4/datetime_matcher",
# "scikit-learn==1.5.2",
"jiwer==3.0.5",
"datasets>=3.2.0",
"unidecode==1.3.8",
"sentencepiece==0.2.0",
# "flair @ git+https://github.com/flairNLP/flair@v0.13.1",
"flair==0.14.0",
"fastapi[standard]>=0.115.6",
"uvicorn>=0.34.0",
"python-multipart>=0.0.20",
"pydantic>=2.10.4",
"pydantic_settings>=2.7.0",
"faker==18.11.2",
"xmltodict==0.14.2",
"cachetools>=5.5.0",
"diskcache>=5.6.3",
"scipy<1.14.1",
"torch==1.12.1", # for decision model
"torchtext==0.13.1", # for decision model
"pytorch-lightning==1.8.3.post1",
"tensorflow_text==2.10.0", # last version compatible with Windows
"psutil==6.1.0",
"sqlmodel==0.0.22",
"alembic>=1.13.3",
"tenacity>=9.0.0",
"python-dotenv>=1.0.1",
"tensorflow-hub>=0.16.1",
"pymupdf>=1.25.2",
"pymupdf4llm>=0.0.17",
"pypandoc>=1.15",
"python-docx>=1.2.0",
]
[project.urls]
Homepage = "https://www.aymurai.info/"
Repository = "https://github.com/aymurAI/backend"
Issues = "https://github.com/AymurAI/backend/issues"
# [project.optional-dependencies]
# gpu = [
# "torch @ https://download.pytorch.org/whl/cu113/torch-1.12.1%2Bcu113-cp310-cp310-linux_x86_64.whl",
# "spacy[cuda113]==3.8.3",
# ]
[dependency-groups]
dev = [
"matplotlib>=3.10.0",
"seaborn>=0.13.2",
"plotly>=5.24.1",
"pre-commit>=4.0.1",
"rich>=13.9.4",
"nbstripout>=0.8.0",
"jupyter>=1.1.1",
"pip>=24.3.1",
]
[tool.setuptools.packages.find]
include = ["aymurai"]
[project.scripts]
aymurai-api = "aymurai.api.main:main"
[tool.setuptools.package-data]
"*" = ["*.yml", "*.yaml", "*.csv"]
[tool.setuptools_scm]
version_file = "aymurai/version.py"
[tool.pylint.messages_control]
disable = "C0330, C0326"