pyproject.toml 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  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.34.2",
  11. "pydantic==2.10.6",
  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. "requests==2.32.4",
  17. "aiohttp==3.11.11",
  18. "async-timeout",
  19. "aiocache",
  20. "aiofiles",
  21. "starlette-compress==1.6.0",
  22. "sqlalchemy==2.0.38",
  23. "alembic==1.14.0",
  24. "peewee==3.18.1",
  25. "peewee-migrate==1.12.2",
  26. "psycopg2-binary==2.9.9",
  27. "pgvector==0.4.0",
  28. "PyMySQL==1.1.1",
  29. "bcrypt==4.3.0",
  30. "pymongo",
  31. "redis",
  32. "boto3==1.35.53",
  33. "argon2-cffi==23.1.0",
  34. "APScheduler==3.10.4",
  35. "RestrictedPython==8.0",
  36. "loguru==0.7.3",
  37. "asgiref==3.8.1",
  38. "openai",
  39. "anthropic",
  40. "google-genai==1.15.0",
  41. "google-generativeai==0.8.5",
  42. "tiktoken",
  43. "langchain==0.3.26",
  44. "langchain-community==0.3.26",
  45. "fake-useragent==2.1.0",
  46. "chromadb==0.6.3",
  47. "pymilvus==2.5.0",
  48. "qdrant-client~=1.12.0",
  49. "opensearch-py==2.8.0",
  50. "playwright==1.49.1",
  51. "elasticsearch==9.0.1",
  52. "pinecone==6.0.2",
  53. "transformers",
  54. "sentence-transformers==4.1.0",
  55. "accelerate",
  56. "colbert-ai==0.2.21",
  57. "einops==0.8.1",
  58. "ftfy==6.2.3",
  59. "pypdf==4.3.1",
  60. "fpdf2==2.8.2",
  61. "pymdown-extensions==10.14.2",
  62. "docx2txt==0.8",
  63. "python-pptx==1.0.2",
  64. "unstructured==0.16.17",
  65. "nltk==3.9.1",
  66. "Markdown==3.7",
  67. "pypandoc==1.15",
  68. "pandas==2.2.3",
  69. "openpyxl==3.1.5",
  70. "pyxlsb==1.0.10",
  71. "xlrd==2.0.1",
  72. "validators==0.35.0",
  73. "psutil",
  74. "sentencepiece",
  75. "soundfile==0.13.1",
  76. "azure-ai-documentintelligence==1.0.2",
  77. "pillow==11.2.1",
  78. "opencv-python-headless==4.11.0.86",
  79. "rapidocr-onnxruntime==1.4.4",
  80. "rank-bm25==0.2.2",
  81. "onnxruntime==1.20.1",
  82. "faster-whisper==1.1.1",
  83. "PyJWT[crypto]==2.10.1",
  84. "authlib==1.4.1",
  85. "black==25.1.0",
  86. "langfuse==2.44.0",
  87. "youtube-transcript-api==1.1.0",
  88. "pytube==15.0.0",
  89. "extract_msg",
  90. "pydub",
  91. "duckduckgo-search==8.0.2",
  92. "google-api-python-client",
  93. "google-auth-httplib2",
  94. "google-auth-oauthlib",
  95. "docker~=7.1.0",
  96. "pytest~=8.3.2",
  97. "pytest-docker~=3.1.1",
  98. "googleapis-common-protos==1.63.2",
  99. "google-cloud-storage==2.19.0",
  100. "azure-identity==1.20.0",
  101. "azure-storage-blob==12.24.1",
  102. "ldap3==2.9.1",
  103. "firecrawl-py==1.12.0",
  104. "tencentcloud-sdk-python==3.0.1336",
  105. "gcp-storage-emulator>=2024.8.3",
  106. "moto[s3]>=5.0.26",
  107. ]
  108. readme = "README.md"
  109. requires-python = ">= 3.11, < 3.13.0a1"
  110. dynamic = ["version"]
  111. classifiers = [
  112. "Development Status :: 4 - Beta",
  113. "License :: Other/Proprietary License",
  114. "Programming Language :: Python :: 3",
  115. "Programming Language :: Python :: 3.11",
  116. "Programming Language :: Python :: 3.12",
  117. "Topic :: Communications :: Chat",
  118. "Topic :: Multimedia",
  119. ]
  120. [project.scripts]
  121. open-webui = "open_webui:app"
  122. [build-system]
  123. requires = ["hatchling"]
  124. build-backend = "hatchling.build"
  125. [tool.rye]
  126. managed = true
  127. dev-dependencies = []
  128. [tool.hatch.metadata]
  129. allow-direct-references = true
  130. [tool.hatch.version]
  131. path = "package.json"
  132. pattern = '"version":\s*"(?P<version>[^"]+)"'
  133. [tool.hatch.build.hooks.custom] # keep this for reading hooks from `hatch_build.py`
  134. [tool.hatch.build.targets.wheel]
  135. sources = ["backend"]
  136. exclude = [
  137. ".dockerignore",
  138. ".gitignore",
  139. ".webui_secret_key",
  140. "dev.sh",
  141. "requirements.txt",
  142. "start.sh",
  143. "start_windows.bat",
  144. "webui.db",
  145. "chroma.sqlite3",
  146. ]
  147. force-include = { "CHANGELOG.md" = "open_webui/CHANGELOG.md", build = "open_webui/frontend" }
  148. [tool.codespell]
  149. # Ref: https://github.com/codespell-project/codespell#using-a-config-file
  150. skip = '.git*,*.svg,package-lock.json,i18n,*.lock,*.css,*-bundle.js,locales,example-doc.txt,emoji-shortcodes.json'
  151. check-hidden = true
  152. # ignore-regex = ''
  153. ignore-words-list = 'ans'