-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
95 lines (83 loc) · 1.99 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
[tool.poetry]
name = "taic-report-engine"
version = "0.1.0"
description = "An engine to use the powers of LLMs offered by openai to help analyse and interpret the accident investigation reports."
authors = ["James <[email protected]>"]
license = "GPLv3"
readme = "README.md"
packages = [{include = "engine"}, {include = "viewer"}]
repository = "https://github.com/1jamesthompson1/TAIC-report-summary"
[tool.poetry.dependencies]
python = "^3.10"
python-dotenv = "^1.0.0"
pypdf = "^5.1.0"
requests = "^2.31.0"
tiktoken = "^0.8.0"
pyyaml = "^6.0.1"
pandas = "^2.0.3"
regex = "^2023.8.8"
openai = "^1.4.0"
matplotlib = "^3.8.3"
networkx = "^3.2.1"
voyageai = "^0.2.3"
tenacity = "^8.3.0"
transformers = "^4.41.2"
anthropic = "^0.40.0"
numpy = "^1.26.0"
beautifulsoup4 = "^4.12.3"
tqdm = "^4.66.4"
pytest-env = "^1.1.3"
hrequests = "^0.8.2"
roman = "^4.2"
lancedb = "^0.16.0"
[tool.poetry.group.viewer.dependencies]
jinja2 = "^3.1.2"
flask = "^2.3.3"
regex = "^2023.8.8"
nltk = "^3.8.1"
lxml = "^5.2.2"
plotly = "^5.22.0"
flask-session = "^0.8.0"
identity = {extras = ["flask"], version = "^0.9.2"}
adlfs = "^2024.4.1"
azure-data-tables = "^12.5.0"
openpyxl = "^3.1.5"
werkzeug = "^3.0.3"
pytz = "^2024.1"
[tool.poetry.group.dev.dependencies]
ipykernel = "^6.29.4"
torch = "^2.5.1"
pytest = "^7.4.3"
pytest-xdist = "^3.5.0"
notebook = "^7.1.2"
openpyxl = "^3.1.2"
ipywidgets = "^8.1.2"
python-docx = "^1.1.0"
ruff = "^0.4.9"
pre-commit = "^3.7.1"
deptry = "^0.18.0"
sentence-transformers = "^3.0.1"
plotnine = "^0.13.6"
pylint = "^3.3.1"
plotly = "^5.24.1"
dash = "^2.18.2"
gunicorn = "^23.0.0"
[tool.poetry.scripts]
engine = "engine.utils.cli:cli"
viewer = "viewer.app:run"
[tool.coverage.report]
include_namespace_packages = true
[tool.coverage.run]
omit = ["tests/*"]
[tool.pytest.ini_options]
pythonpath = ["."]
env = [
"db_URI=./tests/data/vector_db",
]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.deptry]
ignore = ["DEP004"]
[tool.ruff]
extend-exclude = ["*.ipynb"]