-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
84 lines (73 loc) · 1.75 KB
/
pyproject.toml
File metadata and controls
84 lines (73 loc) · 1.75 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
[tool.poetry]
name = "annotation-backend"
version = "0.1.0"
description = ""
authors = ["OpenNyAI Team <opennyai@googlegroups.com>"]
readme = "README.md"
package-mode = false
[tool.poetry.dependencies]
python = ">=3.10, <3.13"
uvicorn = {extras = ["standard"], version = "^0.22.0"}
passlib = "^1.7.4"
asyncpg = "^0.29.0"
python-multipart = "^0.0.9"
greenlet = "^3.0.3"
bcrypt = "^4.1.3"
sqlalchemy = "^2.0.30"
sendgrid = "^6.11.0"
pytz = "^2024.1"
pymupdf = "^1.24.5"
docx2txt = "^0.8"
psycopg = {extras = ["binary", "pool"], version = "^3.1.19"}
psycopg2-binary = "^2.9.9"
jinja2 = "^3.1.4"
aiohttp = "^3.10.9"
urllib3 = "^2.2.3"
fastapi = "^0.115.0"
langchain = "^0.3.2"
langchain-community = "^0.3.1"
langchain-openai = "^0.2.2"
langchain-postgres = "^0.0.12"
python-jose = "^3.3.0"
[tool.pytest.ini_options]
pythonpath = [
"."
]
[tool.poetry.group.dev.dependencies]
flake8 = "^6.0.0"
mypy = "^1.3.0"
poethepoet = "^0.20.0"
pytest-asyncio = "^0.21.0"
pytest-mock = "^3.10.0"
faker = "^18.11.1"
pytest-celery = "^0.0.0"
oauth2client = "^4.1.3"
pandas = "^2.2.2"
black = "^24.10.0"
gunicorn = "^23.0.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poe.tasks.lint]
shell = """
black app tests
flake8 app tests
mypy app tests
"""
interpreter = "bash"
help = "format, lint, typecheck"
[tool.poe.tasks.test]
cmd = "python -m pytest -vv -o log_cli=1 -o log_cli_level=INFO -W 'ignore::DeprecationWarning' $FILE"
args = [{name="FILE", default="tests", positional=true}]
help = "run tests using pytest"
envfile = "tests/.env"
[tool.poe.tasks.start]
shell = """
uvicorn --port 8080 --reload app:app
"""
help = "start the server for local development"
[tool.poe.tasks.build]
shell = """
docker-compose build api
"""
help = "build docker container"