pyproject.toml 3.8 KB

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