pyproject.toml 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  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.9.2",
  12. "python-multipart==0.0.18",
  13. "Flask==3.1.0",
  14. "Flask-Cors==5.0.0",
  15. "python-socketio==5.11.3",
  16. "python-jose==3.3.0",
  17. "passlib[bcrypt]==1.7.4",
  18. "requests==2.32.3",
  19. "aiohttp==3.11.11",
  20. "async-timeout",
  21. "aiocache",
  22. "aiofiles",
  23. "sqlalchemy==2.0.32",
  24. "alembic==1.14.0",
  25. "peewee==3.17.8",
  26. "peewee-migrate==1.12.2",
  27. "psycopg2-binary==2.9.9",
  28. "pgvector==0.3.5",
  29. "PyMySQL==1.1.1",
  30. "bcrypt==4.2.0",
  31. "pymongo",
  32. "redis",
  33. "boto3==1.35.53",
  34. "argon2-cffi==23.1.0",
  35. "APScheduler==3.10.4",
  36. "RestrictedPython==8.0",
  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. "transformers",
  49. "sentence-transformers==3.3.1",
  50. "colbert-ai==0.2.21",
  51. "einops==0.8.0",
  52. "ftfy==6.2.3",
  53. "pypdf==4.3.1",
  54. "fpdf2==2.8.2",
  55. "pymdown-extensions==10.14.2",
  56. "docx2txt==0.8",
  57. "python-pptx==1.0.0",
  58. "unstructured==0.16.11",
  59. "nltk==3.9.1",
  60. "Markdown==3.7",
  61. "pypandoc==1.13",
  62. "pandas==2.2.3",
  63. "openpyxl==3.1.5",
  64. "pyxlsb==1.0.10",
  65. "xlrd==2.0.1",
  66. "validators==0.34.0",
  67. "psutil",
  68. "sentencepiece",
  69. "soundfile==0.13.1",
  70. "opencv-python-headless==4.11.0.86",
  71. "rapidocr-onnxruntime==1.3.24",
  72. "rank-bm25==0.2.2",
  73. "faster-whisper==1.1.1",
  74. "PyJWT[crypto]==2.10.1",
  75. "authlib==1.4.1",
  76. "black==24.8.0",
  77. "langfuse==2.44.0",
  78. "youtube-transcript-api==0.6.3",
  79. "pytube==15.0.0",
  80. "extract_msg",
  81. "pydub",
  82. "duckduckgo-search~=7.3.2",
  83. "google-api-python-client",
  84. "google-auth-httplib2",
  85. "google-auth-oauthlib",
  86. "docker~=7.1.0",
  87. "pytest~=8.3.2",
  88. "pytest-docker~=3.1.1",
  89. "moto[s3]>=5.0.26",
  90. "googleapis-common-protos==1.63.2",
  91. "google-cloud-storage==2.19.0",
  92. "ldap3==2.9.1",
  93. "gcp-storage-emulator>=2024.8.3",
  94. ]
  95. readme = "README.md"
  96. requires-python = ">= 3.11, < 3.13.0a1"
  97. dynamic = ["version"]
  98. classifiers = [
  99. "Development Status :: 4 - Beta",
  100. "License :: OSI Approved :: MIT License",
  101. "Programming Language :: Python :: 3",
  102. "Programming Language :: Python :: 3.11",
  103. "Programming Language :: Python :: 3.12",
  104. "Topic :: Communications :: Chat",
  105. "Topic :: Multimedia",
  106. ]
  107. [project.scripts]
  108. open-webui = "open_webui:app"
  109. [build-system]
  110. requires = ["hatchling"]
  111. build-backend = "hatchling.build"
  112. [tool.rye]
  113. managed = true
  114. dev-dependencies = []
  115. [tool.hatch.metadata]
  116. allow-direct-references = true
  117. [tool.hatch.version]
  118. path = "package.json"
  119. pattern = '"version":\s*"(?P<version>[^"]+)"'
  120. [tool.hatch.build.hooks.custom] # keep this for reading hooks from `hatch_build.py`
  121. [tool.hatch.build.targets.wheel]
  122. sources = ["backend"]
  123. exclude = [
  124. ".dockerignore",
  125. ".gitignore",
  126. ".webui_secret_key",
  127. "dev.sh",
  128. "requirements.txt",
  129. "start.sh",
  130. "start_windows.bat",
  131. "webui.db",
  132. "chroma.sqlite3",
  133. ]
  134. force-include = { "CHANGELOG.md" = "open_webui/CHANGELOG.md", build = "open_webui/frontend" }
  135. [tool.codespell]
  136. # Ref: https://github.com/codespell-project/codespell#using-a-config-file
  137. skip = '.git*,*.svg,package-lock.json,i18n,*.lock,*.css,*-bundle.js,locales,example-doc.txt,emoji-shortcodes.json'
  138. check-hidden = true
  139. # ignore-regex = ''
  140. ignore-words-list = 'ans'