pyproject.toml 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. [project]
  2. name = "business-assistant"
  3. version = "1.0.0"
  4. requires-python = ">=3.14"
  5. dependencies = [
  6. "pandas>=3,<4",
  7. "openpyxl>=3.1,<4",
  8. "xlrd>=2,<3",
  9. "python-docx>=1.2,<2",
  10. "pdfplumber>=0.11,<1",
  11. "pillow>=12,<13",
  12. "markdown-it-py>=4,<5",
  13. "starlette>=0.52,<2",
  14. "uvicorn>=0.35,<1",
  15. "langgraph>=1,<2",
  16. "pymilvus>=2.6,<3",
  17. "redis>=6,<9",
  18. "tokenizers>=0.23.2",
  19. "torch>=2.10",
  20. "transformers>=4.51,<6",
  21. ]
  22. [dependency-groups]
  23. dev = ["httpx>=0.28,<1"]
  24. [[tool.uv.index]]
  25. name = "tuna"
  26. url = "https://pypi.tuna.tsinghua.edu.cn/simple"
  27. default = true
  28. # Windows torch uses the official CUDA wheel; other dependencies keep the default mirror.
  29. [[tool.uv.index]]
  30. name = "pytorch-cu130"
  31. url = "https://download.pytorch.org/whl/cu130"
  32. explicit = true
  33. [[tool.uv.index]]
  34. name = "pytorch-cpu"
  35. url = "https://download.pytorch.org/whl/cpu"
  36. explicit = true
  37. [tool.uv.sources]
  38. torch = [
  39. { index = "pytorch-cu130", marker = "sys_platform == 'win32'" },
  40. { index = "pytorch-cpu", marker = "sys_platform == 'linux' and platform_machine == 'aarch64'" },
  41. ]