/
pyproject.toml
65 lines (58 loc) · 1.43 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
[tool.poetry]
name = "open-assistant-api"
version = "0.1.0"
description = ""
authors = ["Tuanzi1015 <tuanzi1015@gmail.com>"]
readme = "README.md"
[tool.black]
target-version = ["py310"]
line-length = 120
exclude = '''(
/(
migrations
| tests/e2e
)/
)'''
[tool.ruff]
exclude = ["migrations", "tests/e2e"]
# https://docs.astral.sh/ruff/rules
select = ["E", "F", "N", "PIE", "T20", "Q"]
line-length = 120
[tool.poetry.dependencies]
python = "^3.10"
celery = ">=5.3.4,<5.4.0"
fastapi = ">=0.109.1"
fastapi-pagination = ">=0.12.12,<0.13.0"
sqlakeyset = ">=2.0.1680321678,<2.1.0"
loguru = ">=0.6.0,<0.7.0"
sqlmodel = ">=0.0.11,<0.1.0"
starlette = ">=0.36.2"
uvicorn = "^0.27.1"
pymysql = ">=1.1.0,<1.2.0"
python-multipart = ">=0.0.7,<0.1.0"
redis = ">=5.0.1,<5.1.0"
orjson = ">=3.9.10,<3.10.0"
boto3 = ">=1.33.0,<1.34.0"
langchain = ">=0.0.342,<0.1.0"
openai = ">=1.14.0"
python-magic = ">=0.4.27,<0.5.0"
beautifulsoup4 = ">=4.12.2,<4.13.0"
pymupdf = ">=1.23.7,<1.24.0"
alembic = ">=1.13.0,<1.14.0"
pydantic = { version = ">=1.10.13,<1.11.0", extras = ["dotenv"] }
aiohttp = ">=3.9.2,<4.0.0"
sse-starlette = "^2.0.0"
openapi-spec-validator = "^0.7.1"
pycryptodome = "^3.20.0"
lxml = "^5.1.0"
aiomysql = "^0.2.0"
greenlet = "^3.0.3"
gevent = "^24.2.1"
[tool.poetry.group.dev.dependencies]
black = "^23.12.1"
ruff = "^0.1.9"
pytest = "^7.4.3"
pytest-asyncio = "^0.23.2"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"