-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
113 lines (105 loc) · 2.83 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
[project]
name = "ClaimMiner"
version = "0.1.1"
description = "Tool to curate claims extracted from documents"
readme = "README.md"
requires-python = ">=3.11"
authors = [
{ name = "Marc-Antoine Parent", email = "[email protected]" }
]
license = "Apache-2.0"
dependencies = [
"aiokafka",
"angle-emb",
"asyncpg",
# "asyncpg-listen",
"beautifulsoup4",
"bitsandbytes; sys_platform=='linux'",
"bitsandbytes==0.42.0; sys_platform=='darwin'",
"en_core_web_trf @ https://github.com/explosion/spacy-models/releases/download/en_core_web_trf-3.8.0/en_core_web_trf-3.8.0-py3-none-any.whl",
"fastapi",
"fastapi-oauth2",
"frozendict",
"google-cloud-bigquery",
"google-api-python-client",
"gunicorn",
"hashfs",
"httpx",
# "httpx_ws",
"isodate",
"itsdangerous", # Why not automatic?
"keras",
"python-jose",
"python-multipart", # Why not automatic?
"Levenshtein",
"llama-index",
"lxml",
"onnxruntime",
"orjson",
"passlib",
"pdfx>=1.4.1",
"pgvector",
"pluggy",
"pyisemail",
"pygraphviz; sys_platform != 'darwin'",
"pygraphviz @ https://idealoom.org/wheelhouse/pygraphviz-1.13-cp311-cp311-macosx_14_0_arm64.whl ; sys_platform=='darwin'",
"redis", # TODO: remove
"rdflib",
"scikit-learn",
"selenium",
"spacy>3.8",
"sqlmodel",
"tensorflow-hub",
"tensorflow-text; sys_platform != 'darwin'",
"tensorflow-text @ https://github.com/sun1638650145/Libraries-and-Extensions-for-TensorFlow-for-Apple-Silicon/releases/download/v2.18/tensorflow_text-2.18.0-cp311-cp311-macosx_11_0_arm64.whl ; sys_platform == 'darwin'",
"types-beautifulsoup4",
"types-passlib",
"types-psycopg2",
"types-python-jose",
"types-pytz",
"types-PyYAML",
"types-requests",
"unstructured",
"uvicorn[standard]",
"Werkzeug",
]
[project.optional-dependencies]
test = [
"asgi-lifespan",
"pytest-asyncio",
"pytest",
]
docs = [
"pygments-graphql",
"Sphinx",
"sphinx-issues",
]
dev = [
"ipython",
"pipdeptree",
]
[project.scripts]
initial_setup = "claim_miner.scripts.initial_setup:main"
db_updater = "claim_miner.scripts.db_updater:main"
claim_miner_web = "claim_miner.app_full:main"
claim_miner_events = "claim_miner.tasks.kafka:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel]
packages = ["claim_miner"]
[tool.uv]
override-dependencies = ["pdfminer==20240706"]
[tool.pytest.ini_options]
markers = [
"cost: marks tests as involving tool costs (deselect with '-m \"not cost\"')",
]
log_cli_level = "INFO"
log_cli_format = "%(asctime)s [%(levelname)8s] %(message)s (%(filename)s:%(lineno)s)"
log_cli_date_format = "%Y-%m-%d %H:%M:%S"
[tool.ruff.lint.per-file-ignores]
"claim_miner/models/__init__.py" = ["E402"]
"claim_miner/api/__init__.py" = ["E402"]
"claim_miner/web/__init__.py" = ["E402"]