pyproject.toml 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  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.115.7",
  10. "uvicorn[standard]==0.35.0",
  11. "pydantic==2.11.7",
  12. "python-multipart==0.0.20",
  13. "python-socketio==5.13.0",
  14. "python-jose==3.4.0",
  15. "passlib[bcrypt]==1.7.4",
  16. "cryptography",
  17. "bcrypt==4.3.0",
  18. "argon2-cffi==23.1.0",
  19. "PyJWT[crypto]==2.10.1",
  20. "authlib==1.6.3",
  21. "requests==2.32.4",
  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. "sqlalchemy==2.0.38",
  29. "alembic==1.14.0",
  30. "peewee==3.18.1",
  31. "peewee-migrate==1.12.2",
  32. "pycrdt==0.12.25",
  33. "redis",
  34. "PyMySQL==1.1.1",
  35. "boto3==1.40.5",
  36. "APScheduler==3.10.4",
  37. "RestrictedPython==8.0",
  38. "loguru==0.7.3",
  39. "asgiref==3.8.1",
  40. "tiktoken",
  41. "openai",
  42. "anthropic",
  43. "google-genai==1.32.0",
  44. "google-generativeai==0.8.5",
  45. "langchain==0.3.26",
  46. "langchain-community==0.3.27",
  47. "fake-useragent==2.2.0",
  48. "chromadb==1.0.20",
  49. "pymilvus==2.5.0",
  50. "qdrant-client==1.14.3",
  51. "opensearch-py==2.8.0",
  52. "playwright==1.49.1",
  53. "elasticsearch==9.1.0",
  54. "pinecone==6.0.2",
  55. "oracledb==3.2.0",
  56. "transformers",
  57. "sentence-transformers==4.1.0",
  58. "accelerate",
  59. "colbert-ai==0.2.21",
  60. "pyarrow==20.0.0",
  61. "einops==0.8.1",
  62. "ftfy==6.2.3",
  63. "pypdf==6.0.0",
  64. "fpdf2==2.8.2",
  65. "pymdown-extensions==10.14.2",
  66. "docx2txt==0.8",
  67. "python-pptx==1.0.2",
  68. "unstructured==0.16.17",
  69. "nltk==3.9.1",
  70. "Markdown==3.8.2",
  71. "pypandoc==1.15",
  72. "pandas==2.2.3",
  73. "openpyxl==3.1.5",
  74. "pyxlsb==1.0.10",
  75. "xlrd==2.0.1",
  76. "validators==0.35.0",
  77. "psutil",
  78. "sentencepiece",
  79. "soundfile==0.13.1",
  80. "azure-ai-documentintelligence==1.0.2",
  81. "pillow==11.3.0",
  82. "opencv-python-headless==4.11.0.86",
  83. "rapidocr-onnxruntime==1.4.4",
  84. "rank-bm25==0.2.2",
  85. "onnxruntime==1.20.1",
  86. "faster-whisper==1.1.1",
  87. "black==25.1.0",
  88. "youtube-transcript-api==1.1.0",
  89. "pytube==15.0.0",
  90. "pydub",
  91. "ddgs==9.0.0",
  92. "google-api-python-client",
  93. "google-auth-httplib2",
  94. "google-auth-oauthlib",
  95. "googleapis-common-protos==1.70.0",
  96. "google-cloud-storage==2.19.0",
  97. "azure-identity==1.20.0",
  98. "azure-storage-blob==12.24.1",
  99. "ldap3==2.9.1",
  100. "firecrawl-py==1.12.0",
  101. "tencentcloud-sdk-python==3.0.1336",
  102. "oracledb>=3.2.0",
  103. ]
  104. readme = "README.md"
  105. requires-python = ">= 3.11, < 3.13.0a1"
  106. dynamic = ["version"]
  107. classifiers = [
  108. "Development Status :: 4 - Beta",
  109. "License :: Other/Proprietary License",
  110. "Programming Language :: Python :: 3",
  111. "Programming Language :: Python :: 3.11",
  112. "Programming Language :: Python :: 3.12",
  113. "Topic :: Communications :: Chat",
  114. "Topic :: Multimedia",
  115. ]
  116. [project.optional-dependencies]
  117. postgres = [
  118. "psycopg2-binary==2.9.10",
  119. "pgvector==0.4.1",
  120. ]
  121. all = [
  122. "pymongo",
  123. "psycopg2-binary==2.9.9",
  124. "pgvector==0.4.0",
  125. "moto[s3]>=5.0.26",
  126. "gcp-storage-emulator>=2024.8.3",
  127. "docker~=7.1.0",
  128. "pytest~=8.3.2",
  129. "pytest-docker~=3.1.1",
  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. ]