pyproject.toml 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  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.118.0",
  10. "uvicorn[standard]==0.37.0",
  11. "pydantic==2.11.9",
  12. "python-multipart==0.0.20",
  13. "itsdangerous==2.2.0",
  14. "python-socketio==5.13.0",
  15. "python-jose==3.5.0",
  16. "cryptography",
  17. "bcrypt==5.0.0",
  18. "argon2-cffi==25.1.0",
  19. "PyJWT[crypto]==2.10.1",
  20. "authlib==1.6.5",
  21. "requests==2.32.5",
  22. "aiohttp==3.12.15",
  23. "async-timeout",
  24. "aiocache",
  25. "aiofiles",
  26. "starlette-compress==1.6.0",
  27. "httpx[socks,http2,zstd,cli,brotli]==0.28.1",
  28. "starsessions[redis]==2.2.1",
  29. "sqlalchemy==2.0.38",
  30. "alembic==1.14.0",
  31. "peewee==3.18.1",
  32. "peewee-migrate==1.12.2",
  33. "pycrdt==0.12.25",
  34. "redis",
  35. "PyMySQL==1.1.1",
  36. "boto3==1.40.5",
  37. "APScheduler==3.10.4",
  38. "RestrictedPython==8.0",
  39. "loguru==0.7.3",
  40. "asgiref==3.8.1",
  41. "tiktoken",
  42. "mcp==1.14.1",
  43. "openai",
  44. "anthropic",
  45. "google-genai==1.38.0",
  46. "google-generativeai==0.8.5",
  47. "langchain==0.3.27",
  48. "langchain-community==0.3.29",
  49. "fake-useragent==2.2.0",
  50. "chromadb==1.0.20",
  51. "opensearch-py==2.8.0",
  52. "transformers",
  53. "sentence-transformers==5.1.1",
  54. "accelerate",
  55. "pyarrow==20.0.0",
  56. "einops==0.8.1",
  57. "ftfy==6.2.3",
  58. "pypdf==6.0.0",
  59. "fpdf2==2.8.2",
  60. "pymdown-extensions==10.14.2",
  61. "docx2txt==0.8",
  62. "python-pptx==1.0.2",
  63. "unstructured==0.18.15",
  64. "nltk==3.9.1",
  65. "Markdown==3.9",
  66. "pypandoc==1.15",
  67. "pandas==2.2.3",
  68. "openpyxl==3.1.5",
  69. "pyxlsb==1.0.10",
  70. "xlrd==2.0.1",
  71. "validators==0.35.0",
  72. "psutil",
  73. "sentencepiece",
  74. "soundfile==0.13.1",
  75. "azure-ai-documentintelligence==1.0.2",
  76. "pillow==11.3.0",
  77. "opencv-python-headless==4.11.0.86",
  78. "rapidocr-onnxruntime==1.4.4",
  79. "rank-bm25==0.2.2",
  80. "onnxruntime==1.20.1",
  81. "faster-whisper==1.1.1",
  82. "black==25.9.0",
  83. "youtube-transcript-api==1.2.2",
  84. "pytube==15.0.0",
  85. "pydub",
  86. "ddgs==9.0.0",
  87. "google-api-python-client",
  88. "google-auth-httplib2",
  89. "google-auth-oauthlib",
  90. "googleapis-common-protos==1.70.0",
  91. "google-cloud-storage==2.19.0",
  92. "azure-identity==1.25.0",
  93. "azure-storage-blob==12.24.1",
  94. "ldap3==2.9.1",
  95. ]
  96. readme = "README.md"
  97. requires-python = ">= 3.11, < 3.13.0a1"
  98. dynamic = ["version"]
  99. classifiers = [
  100. "Development Status :: 4 - Beta",
  101. "License :: Other/Proprietary License",
  102. "Programming Language :: Python :: 3",
  103. "Programming Language :: Python :: 3.11",
  104. "Programming Language :: Python :: 3.12",
  105. "Topic :: Communications :: Chat",
  106. "Topic :: Multimedia",
  107. ]
  108. [project.optional-dependencies]
  109. postgres = [
  110. "psycopg2-binary==2.9.10",
  111. "pgvector==0.4.1",
  112. ]
  113. all = [
  114. "pymongo",
  115. "psycopg2-binary==2.9.9",
  116. "pgvector==0.4.0",
  117. "moto[s3]>=5.0.26",
  118. "gcp-storage-emulator>=2024.8.3",
  119. "docker~=7.1.0",
  120. "pytest~=8.3.2",
  121. "pytest-docker~=3.1.1",
  122. "playwright==1.49.1",
  123. "elasticsearch==9.1.0",
  124. "qdrant-client==1.14.3",
  125. "pymilvus==2.6.2",
  126. "pinecone==6.0.2",
  127. "oracledb==3.2.0",
  128. "colbert-ai==0.2.21",
  129. "firecrawl-py==4.5.0",
  130. ]
  131. [project.scripts]
  132. open-webui = "open_webui:app"
  133. [build-system]
  134. requires = ["hatchling"]
  135. build-backend = "hatchling.build"
  136. [tool.rye]
  137. managed = true
  138. dev-dependencies = []
  139. [tool.hatch.metadata]
  140. allow-direct-references = true
  141. [tool.hatch.version]
  142. path = "package.json"
  143. pattern = '"version":\s*"(?P<version>[^"]+)"'
  144. [tool.hatch.build.hooks.custom] # keep this for reading hooks from `hatch_build.py`
  145. [tool.hatch.build.targets.wheel]
  146. sources = ["backend"]
  147. exclude = [
  148. ".dockerignore",
  149. ".gitignore",
  150. ".webui_secret_key",
  151. "dev.sh",
  152. "requirements.txt",
  153. "start.sh",
  154. "start_windows.bat",
  155. "webui.db",
  156. "chroma.sqlite3",
  157. ]
  158. force-include = { "CHANGELOG.md" = "open_webui/CHANGELOG.md", build = "open_webui/frontend" }
  159. [tool.codespell]
  160. # Ref: https://github.com/codespell-project/codespell#using-a-config-file
  161. skip = '.git*,*.svg,package-lock.json,i18n,*.lock,*.css,*-bundle.js,locales,example-doc.txt,emoji-shortcodes.json'
  162. check-hidden = true
  163. # ignore-regex = ''
  164. ignore-words-list = 'ans'
  165. [dependency-groups]
  166. dev = [
  167. "pytest-asyncio>=1.0.0",
  168. ]