pyproject.toml 4.0 KB

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