pyproject.toml 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. [project]
  2. name = "open-webui"
  3. description = "Open WebUI (Formerly Ollama WebUI)"
  4. authors = [
  5. { name = "Timothy Jaeryang Baek", email = "tim@openwebui.com" }
  6. ]
  7. license = { file = "LICENSE" }
  8. dependencies = [
  9. "fastapi==0.111.0",
  10. "uvicorn[standard]==0.22.0",
  11. "pydantic==2.7.1",
  12. "python-multipart==0.0.9",
  13. "Flask==3.0.3",
  14. "Flask-Cors==4.0.1",
  15. "python-socketio==5.11.2",
  16. "python-jose==3.3.0",
  17. "passlib[bcrypt]==1.7.4",
  18. "requests==2.32.2",
  19. "aiohttp==3.9.5",
  20. "peewee==3.17.5",
  21. "peewee-migrate==1.12.2",
  22. "psycopg2-binary==2.9.9",
  23. "PyMySQL==1.1.0",
  24. "bcrypt==4.1.3",
  25. "boto3==1.34.110",
  26. "argon2-cffi==23.1.0",
  27. "APScheduler==3.10.4",
  28. "google-generativeai==0.5.4",
  29. "langchain==0.2.0",
  30. "langchain-community==0.2.0",
  31. "langchain-chroma==0.1.1",
  32. "fake-useragent==1.5.1",
  33. "chromadb==0.5.0",
  34. "sentence-transformers==2.7.0",
  35. "pypdf==4.2.0",
  36. "docx2txt==0.8",
  37. "unstructured==0.14.0",
  38. "Markdown==3.6",
  39. "pypandoc==1.13",
  40. "pandas==2.2.2",
  41. "openpyxl==3.1.2",
  42. "pyxlsb==1.0.10",
  43. "xlrd==2.0.1",
  44. "validators==0.28.1",
  45. "opencv-python-headless==4.9.0.80",
  46. "rapidocr-onnxruntime==1.3.22",
  47. "fpdf2==2.7.9",
  48. "rank-bm25==0.2.2",
  49. "faster-whisper==1.0.2",
  50. "PyJWT[crypto]==2.8.0",
  51. "black==24.4.2",
  52. "langfuse==2.33.0",
  53. "youtube-transcript-api==0.6.2",
  54. "pytube==15.0.0",
  55. "extract_msg",
  56. "pydub",
  57. "duckduckgo-search~=6.1.5"
  58. ]
  59. readme = "README.md"
  60. requires-python = ">= 3.11, < 3.12.0a1"
  61. dynamic = ["version"]
  62. classifiers = [
  63. "Development Status :: 4 - Beta",
  64. "License :: OSI Approved :: MIT License",
  65. "Programming Language :: Python :: 3",
  66. "Programming Language :: Python :: 3.11",
  67. "Topic :: Communications :: Chat",
  68. "Topic :: Multimedia",
  69. ]
  70. [project.scripts]
  71. open-webui = "open_webui:app"
  72. [build-system]
  73. requires = ["hatchling"]
  74. build-backend = "hatchling.build"
  75. [tool.rye]
  76. managed = true
  77. dev-dependencies = []
  78. [tool.hatch.metadata]
  79. allow-direct-references = true
  80. [tool.hatch.version]
  81. path = "package.json"
  82. pattern = '"version":\s*"(?P<version>[^"]+)"'
  83. [tool.hatch.build.hooks.custom] # keep this for reading hooks from `hatch_build.py`
  84. [tool.hatch.build.targets.wheel]
  85. sources = ["backend"]
  86. exclude = [
  87. ".dockerignore",
  88. ".gitignore",
  89. ".webui_secret_key",
  90. "dev.sh",
  91. "requirements.txt",
  92. "start.sh",
  93. "start_windows.bat",
  94. "webui.db",
  95. "chroma.sqlite3",
  96. ]
  97. force-include = { "CHANGELOG.md" = "open_webui/CHANGELOG.md", build = "open_webui/frontend" }