pyproject.toml 3.0 KB

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