pyproject.toml 4.0 KB

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