pyproject.toml.bak 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. [tool.poetry]
  2. name = "open-assistant-api"
  3. version = "0.1.0"
  4. description = ""
  5. authors = ["Tuanzi1015 <tuanzi1015@gmail.com>"]
  6. readme = "README.md"
  7. [tool.black]
  8. target-version = ["py310"]
  9. line-length = 120
  10. exclude = '''(
  11. /(
  12. migrations
  13. | tests/e2e
  14. )/
  15. )'''
  16. [tool.ruff]
  17. exclude = ["migrations", "tests/e2e"]
  18. # https://docs.astral.sh/ruff/rules
  19. select = ["E", "F", "N", "PIE", "T20", "Q"]
  20. line-length = 120
  21. [tool.poetry.dependencies]
  22. python = ">=3.10,<3.13"
  23. celery = ">=5.3.4,<5.4.0"
  24. sqlakeyset = ">=2.0.1680321678,<2.1.0"
  25. loguru = ">=0.6.0,<0.7.0"
  26. sqlmodel = ">=0.0.11,<0.1.0"
  27. uvicorn = "^0.27.1"
  28. pymysql = ">=1.1.0,<1.2.0"
  29. python-multipart = ">=0.0.7,<0.1.0"
  30. redis = ">=5.0.1,<5.1.0"
  31. orjson = ">=3.9.10,<3.10.0"
  32. boto3 = ">=1.33.0,<1.34.0"
  33. openai = "1.27.0"
  34. python-magic = ">=0.4.27,<0.5.0"
  35. beautifulsoup4 = ">=4.12.2,<4.13.0"
  36. pymupdf = ">=1.23.7,<1.24.0"
  37. alembic = ">=1.13.0,<1.14.0"
  38. aiohttp = ">=3.9.2,<4.0.0"
  39. pydantic = { version = ">=2,<3", extras = ["dotenv"] }
  40. sse-starlette = "^1.8.2"
  41. openapi-spec-validator = "^0.7.1"
  42. pycryptodome = "^3.20.0"
  43. lxml = "^5.1.0"
  44. aiomysql = "^0.2.0"
  45. greenlet = "^3.0.3"
  46. gevent = "^24.2.1"
  47. pydantic-settings = "^2.4.0"
  48. langchain = "^0.2.12"
  49. langchain-community = "^0.2.11"
  50. fastapi = ">=0.109.2,<=0.112.0"
  51. fastapi-pagination = "^0.12.26"
  52. httpx = "^0.27.0"
  53. distro = "^1.9.0"
  54. aiofiles = "^24.1.0"
  55. r2r = "^0.3.4"
  56. pyjwt = "^2.9.0"
  57. [tool.poetry.group.dev.dependencies]
  58. black = "^24.3.0"
  59. ruff = "^0.1.9"
  60. pytest = "^7.4.3"
  61. pytest-asyncio = "^0.23.2"
  62. [build-system]
  63. requires = ["poetry-core"]
  64. build-backend = "poetry.core.masonry.api"