pyproject.toml 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  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. "openai",
  37. "anthropic",
  38. "google-generativeai==0.7.2",
  39. "tiktoken",
  40. "langchain==0.3.7",
  41. "langchain-community==0.3.7",
  42. "fake-useragent==1.5.1",
  43. "chromadb==0.6.2",
  44. "pymilvus==2.5.0",
  45. "qdrant-client~=1.12.0",
  46. "opensearch-py==2.7.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.11",
  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.0.3",
  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.0",
  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. "ldap3==2.9.1",
  92. "gcp-storage-emulator>=2024.8.3",
  93. ]
  94. readme = "README.md"
  95. requires-python = ">= 3.11, < 3.13.0a1"
  96. dynamic = ["version"]
  97. classifiers = [
  98. "Development Status :: 4 - Beta",
  99. "License :: OSI Approved :: MIT License",
  100. "Programming Language :: Python :: 3",
  101. "Programming Language :: Python :: 3.11",
  102. "Programming Language :: Python :: 3.12",
  103. "Topic :: Communications :: Chat",
  104. "Topic :: Multimedia",
  105. ]
  106. [project.scripts]
  107. open-webui = "open_webui:app"
  108. [build-system]
  109. requires = ["hatchling"]
  110. build-backend = "hatchling.build"
  111. [tool.rye]
  112. managed = true
  113. dev-dependencies = []
  114. [tool.hatch.metadata]
  115. allow-direct-references = true
  116. [tool.hatch.version]
  117. path = "package.json"
  118. pattern = '"version":\s*"(?P<version>[^"]+)"'
  119. [tool.hatch.build.hooks.custom] # keep this for reading hooks from `hatch_build.py`
  120. [tool.hatch.build.targets.wheel]
  121. sources = ["backend"]
  122. exclude = [
  123. ".dockerignore",
  124. ".gitignore",
  125. ".webui_secret_key",
  126. "dev.sh",
  127. "requirements.txt",
  128. "start.sh",
  129. "start_windows.bat",
  130. "webui.db",
  131. "chroma.sqlite3",
  132. ]
  133. force-include = { "CHANGELOG.md" = "open_webui/CHANGELOG.md", build = "open_webui/frontend" }
  134. [tool.codespell]
  135. # Ref: https://github.com/codespell-project/codespell#using-a-config-file
  136. skip = '.git*,*.svg,package-lock.json,i18n,*.lock,*.css,*-bundle.js,locales,example-doc.txt,emoji-shortcodes.json'
  137. check-hidden = true
  138. # ignore-regex = ''
  139. ignore-words-list = 'ans'