pyproject.toml 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  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.111.0",
  10. "uvicorn[standard]==0.30.6",
  11. "pydantic==2.9.2",
  12. "python-multipart==0.0.17",
  13. "Flask==3.0.3",
  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.10.8",
  20. "async-timeout",
  21. "aiocache",
  22. "sqlalchemy==2.0.32",
  23. "alembic==1.13.2",
  24. "peewee==3.17.6",
  25. "peewee-migrate==1.12.2",
  26. "psycopg2-binary==2.9.9",
  27. "pgvector==0.3.5",
  28. "PyMySQL==1.1.1",
  29. "bcrypt==4.2.0",
  30. "pymongo",
  31. "redis",
  32. "boto3==1.35.53",
  33. "argon2-cffi==23.1.0",
  34. "APScheduler==3.10.4",
  35. "openai",
  36. "anthropic",
  37. "google-generativeai==0.7.2",
  38. "tiktoken",
  39. "langchain==0.3.7",
  40. "langchain-community==0.3.7",
  41. "langchain-chroma==0.1.4",
  42. "fake-useragent==1.5.1",
  43. "chromadb==0.5.15",
  44. "pymilvus==2.4.9",
  45. "qdrant-client~=1.12.0",
  46. "opensearch-py==2.7.1",
  47. "sentence-transformers==3.2.0",
  48. "colbert-ai==0.2.21",
  49. "einops==0.8.0",
  50. "ftfy==6.2.3",
  51. "pypdf==4.3.1",
  52. "fpdf2==2.7.9",
  53. "pymdown-extensions==10.11.2",
  54. "docx2txt==0.8",
  55. "python-pptx==1.0.0",
  56. "unstructured==0.15.9",
  57. "nltk==3.9.1",
  58. "Markdown==3.7",
  59. "pypandoc==1.13",
  60. "pandas==2.2.3",
  61. "openpyxl==3.1.5",
  62. "pyxlsb==1.0.10",
  63. "xlrd==2.0.1",
  64. "validators==0.33.0",
  65. "psutil",
  66. "sentencepiece",
  67. "soundfile==0.12.1",
  68. "opencv-python-headless==4.10.0.84",
  69. "rapidocr-onnxruntime==1.3.24",
  70. "rank-bm25==0.2.2",
  71. "faster-whisper==1.0.3",
  72. "PyJWT[crypto]==2.9.0",
  73. "authlib==1.3.2",
  74. "black==24.8.0",
  75. "langfuse==2.44.0",
  76. "youtube-transcript-api==0.6.3",
  77. "pytube==15.0.0",
  78. "extract_msg",
  79. "pydub",
  80. "duckduckgo-search~=6.3.5",
  81. "docker~=7.1.0",
  82. "pytest~=8.3.2",
  83. "pytest-docker~=3.1.1",
  84. "googleapis-common-protos==1.63.2",
  85. "ldap3==2.9.1"
  86. ]
  87. readme = "README.md"
  88. requires-python = ">= 3.11, < 3.12.0a1"
  89. dynamic = ["version"]
  90. classifiers = [
  91. "Development Status :: 4 - Beta",
  92. "License :: OSI Approved :: MIT License",
  93. "Programming Language :: Python :: 3",
  94. "Programming Language :: Python :: 3.11",
  95. "Topic :: Communications :: Chat",
  96. "Topic :: Multimedia",
  97. ]
  98. [project.scripts]
  99. open-webui = "open_webui:app"
  100. [build-system]
  101. requires = ["hatchling"]
  102. build-backend = "hatchling.build"
  103. [tool.rye]
  104. managed = true
  105. dev-dependencies = []
  106. [tool.hatch.metadata]
  107. allow-direct-references = true
  108. [tool.hatch.version]
  109. path = "package.json"
  110. pattern = '"version":\s*"(?P<version>[^"]+)"'
  111. [tool.hatch.build.hooks.custom] # keep this for reading hooks from `hatch_build.py`
  112. [tool.hatch.build.targets.wheel]
  113. sources = ["backend"]
  114. exclude = [
  115. ".dockerignore",
  116. ".gitignore",
  117. ".webui_secret_key",
  118. "dev.sh",
  119. "requirements.txt",
  120. "start.sh",
  121. "start_windows.bat",
  122. "webui.db",
  123. "chroma.sqlite3",
  124. ]
  125. force-include = { "CHANGELOG.md" = "open_webui/CHANGELOG.md", build = "open_webui/frontend" }