Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
87 lines (79 loc) · 1.89 KB
/
Copy pathpyproject.toml
File metadata and controls
87 lines (79 loc) · 1.89 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
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "ml-promochator"
version = "0.0.1"
description = "Codebase for promochator"
requires-python = ">=3.8,<3.13"
dependencies = [
"langchain==0.3.9",
"langchain-community==0.3.8",
"langchain-openai==0.2.10",
"fire~=0.6.0",
"unidecode~=1.3.8",
"uvicorn~=0.30.6",
"python-dotenv~=1.0.1",
"faiss-cpu~=1.8.0.post1",
"pydantic~=2.8.2",
"langchain-core==0.3.21",
"fastapi==0.112.2",
"httpx~=0.25.2",
"sse_starlette==2.1.3",
"langgraph~=0.2.53",
"slowapi~=0.1.9 ",
"sqlmodel~=0.0.22",
"alembic~=1.14.1",
"psycopg2-binary~=2.9.9",
"itsdangerous==2.2.0"
]
[project.urls]
"Source" = "https://github.com/Solvro/ml-promochator"
[project.optional-dependencies]
sandbox = [
"jupyter~=1.0.0",
"scholarly~=1.7.11",
"fire~=0.6.0",
"nltk~=3.8.1",
]
jupyter = [
"jupyterlab~=3.6",
"pandas ~= 2.0",
"matplotlib ~= 3.7",
"seaborn ~= 0.12",
"plotly ~= 5.14",
]
lint = ["ruff ~= 0.1", "pre-commit ~= 2.20"]
test = [
"pytest ~= 7.1",
"pytest-cases ~= 3.6",
"pytest-cov ~= 3.0",
"pytest-xdist ~= 2.5",
"pytest-sugar ~= 0.9",
]
dev = ["ml-promochator[sandbox, jupyter, lint, test]"]
[tool.setuptools]
packages = ["src"]
[tool.ruff]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"C", # flake8-comprehensions
"B", # flake8-bugbear
# "UP", # pyupgrade
]
line-length = 120
ignore = [
# "E501", # line too long, handled by black
"B008", # do not perform function calls in argument defaults
"C901", # too complex
"W191", # indentation contains tabs
]
extend-exclude = [".venv/", "build/", "dist/", "docs/"]
[tool.ruff.format]
quote-style = "single"
indent-style = "space"
[tool.setuptools.dynamic]
readme = {file = ['README.md']}