pyproject.toml 889 B

12345678910111213141516171819202122232425262728293031323334353637
  1. [project]
  2. name = "agent"
  3. version = "0.1.0"
  4. description = "ai-tagging"
  5. authors = [
  6. {name = "jiayongqiang", email = "15936285643@163.com"},
  7. ]
  8. dependencies = [
  9. "fastapi>=0.128.0",
  10. "uvicorn>=0.40.0",
  11. "python-multipart>=0.0.22",
  12. "requests>=2.32.5",
  13. "langchain>=1.2.9",
  14. "langchain-openai>=1.1.7",
  15. "dbutils>=3.1.2",
  16. "pymysql>=1.1.2",
  17. "elasticsearch==8.9.0",
  18. "numpy>=2.2.6",
  19. "asyncer>=0.0.17",
  20. "pandas>=2.3.3",
  21. "openpyxl>=3.1.5",
  22. ]
  23. requires-python = ">=3.10"
  24. readme = "README.md"
  25. license = {text = "MIT"}
  26. [tool.pdm]
  27. build.package-dir = "src"
  28. distribution = true
  29. [tool.pdm.scripts]
  30. start = "uvicorn agent.main:app --host 0.0.0.0 --port 8080"
  31. start-bg = { shell = "nohup pdm run start > uvicorn.log 2>&1 & echo 'Started in background'; echo \"Logs in uvicorn.log\"" }
  32. [build-system]
  33. requires = ["pdm-backend"]
  34. build-backend = "pdm.backend"