pyproject.toml 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. [project]
  2. name = "open-webui"
  3. description = "Open 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.30.6",
  11. "pydantic==2.8.2",
  12. "python-multipart==0.0.9",
  13. "Flask==3.0.3",
  14. "Flask-Cors==5.0.0",
  15. "python-socketio==5.11.3",
  16. "python-jose==3.3.0",
  17. "passlib[bcrypt]==1.7.4",
  18. "requests==2.32.3",
  19. "aiohttp==3.10.5",
  20. "sqlalchemy==2.0.32",
  21. "alembic==1.13.2",
  22. "peewee==3.17.6",
  23. "peewee-migrate==1.12.2",
  24. "psycopg2-binary==2.9.9",
  25. "PyMySQL==1.1.1",
  26. "bcrypt==4.2.0",
  27. "pymongo",
  28. "redis",
  29. "boto3==1.35.0",
  30. "argon2-cffi==23.1.0",
  31. "APScheduler==3.10.4",
  32. "openai",
  33. "anthropic",
  34. "google-generativeai==0.7.2",
  35. "tiktoken",
  36. "langchain==0.2.15",
  37. "langchain-community==0.2.12",
  38. "langchain-chroma==0.1.2",
  39. "fake-useragent==1.5.1",
  40. "chromadb==0.5.5",
  41. "sentence-transformers==3.0.1",
  42. "pypdf==4.3.1",
  43. "docx2txt==0.8",
  44. "python-pptx==1.0.0",
  45. "unstructured==0.15.9",
  46. "nltk==3.9.1",
  47. "Markdown==3.7",
  48. "pypandoc==1.13",
  49. "pandas==2.2.2",
  50. "openpyxl==3.1.5",
  51. "pyxlsb==1.0.10",
  52. "xlrd==2.0.1",
  53. "validators==0.33.0",
  54. "psutil",
  55. "opencv-python-headless==4.10.0.84",
  56. "rapidocr-onnxruntime==1.3.24",
  57. "fpdf2==2.7.9",
  58. "rank-bm25==0.2.2",
  59. "faster-whisper==1.0.3",
  60. "PyJWT[crypto]==2.9.0",
  61. "authlib==1.3.2",
  62. "black==24.8.0",
  63. "langfuse==2.44.0",
  64. "youtube-transcript-api==0.6.2",
  65. "pytube==15.0.0",
  66. "extract_msg",
  67. "pydub",
  68. "duckduckgo-search~=6.2.11",
  69. "docker~=7.1.0",
  70. "pytest~=8.2.2",
  71. "pytest-docker~=3.1.1"
  72. ]
  73. readme = "README.md"
  74. requires-python = ">= 3.11, < 3.12.0a1"
  75. dynamic = ["version"]
  76. classifiers = [
  77. "Development Status :: 4 - Beta",
  78. "License :: OSI Approved :: MIT License",
  79. "Programming Language :: Python :: 3",
  80. "Programming Language :: Python :: 3.11",
  81. "Topic :: Communications :: Chat",
  82. "Topic :: Multimedia",
  83. ]
  84. [project.scripts]
  85. open-webui = "open_webui:app"
  86. [build-system]
  87. requires = ["hatchling"]
  88. build-backend = "hatchling.build"
  89. [tool.rye]
  90. managed = true
  91. dev-dependencies = []
  92. [tool.hatch.metadata]
  93. allow-direct-references = true
  94. [tool.hatch.version]
  95. path = "package.json"
  96. pattern = '"version":\s*"(?P<version>[^"]+)"'
  97. [tool.hatch.build.hooks.custom] # keep this for reading hooks from `hatch_build.py`
  98. [tool.hatch.build.targets.wheel]
  99. sources = ["backend"]
  100. exclude = [
  101. ".dockerignore",
  102. ".gitignore",
  103. ".webui_secret_key",
  104. "dev.sh",
  105. "requirements.txt",
  106. "start.sh",
  107. "start_windows.bat",
  108. "webui.db",
  109. "chroma.sqlite3",
  110. ]
  111. force-include = { "CHANGELOG.md" = "open_webui/CHANGELOG.md", build = "open_webui/frontend" }