pyproject.toml 3.7 KB

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