Files
open-webui/pyproject.toml

208 lines
4.6 KiB
TOML
Raw Normal View History

[project]
name = "open-webui"
2024-08-14 17:13:37 +02:00
description = "Open WebUI"
authors = [
2024-05-21 20:39:37 -07:00
{ name = "Timothy Jaeryang Baek", email = "tim@openwebui.com" }
]
license = { file = "LICENSE" }
dependencies = [
"fastapi==0.124.4",
2025-10-07 16:19:47 -05:00
"uvicorn[standard]==0.37.0",
"pydantic==2.12.5",
2025-04-12 22:07:23 -07:00
"python-multipart==0.0.20",
2025-09-18 10:43:59 -05:00
"itsdangerous==2.2.0",
"python-socketio==5.15.0",
"python-jose==3.5.0",
2025-08-01 02:58:51 +09:00
"cryptography",
"bcrypt==5.0.0",
2025-09-25 14:53:21 -05:00
"argon2-cffi==25.1.0",
2025-08-26 23:05:44 +04:00
"PyJWT[crypto]==2.10.1",
"authlib==1.6.6",
2025-09-24 18:58:17 -05:00
"requests==2.32.5",
"aiohttp==3.13.2",
2024-10-12 02:42:31 -07:00
"async-timeout",
2024-11-16 04:41:07 -08:00
"aiocache",
2024-11-23 23:00:04 -08:00
"aiofiles",
"starlette-compress==1.6.1",
2025-08-01 02:58:51 +09:00
"httpx[socks,http2,zstd,cli,brotli]==0.28.1",
2025-09-25 14:53:21 -05:00
"starsessions[redis]==2.2.1",
2025-12-10 23:59:52 -05:00
"python-mimeparse==2.0.0",
"sqlalchemy==2.0.45",
"alembic==1.17.2",
"peewee==3.18.3",
"peewee-migrate==1.14.3",
"pycrdt==0.12.44",
2024-08-03 00:47:05 +02:00
"redis",
2025-08-26 23:05:44 +04:00
"APScheduler==3.11.1",
"RestrictedPython==8.1",
2025-05-05 16:49:21 +04:00
"loguru==0.7.3",
"asgiref==3.11.0",
2025-08-26 23:05:44 +04:00
"tiktoken",
"mcp==1.24.0",
2025-09-23 02:40:59 -04:00
2024-08-03 00:47:05 +02:00
"openai",
"anthropic",
"google-genai==1.55.0",
2025-05-17 21:53:31 +04:00
"google-generativeai==0.8.5",
2025-09-24 18:55:33 -05:00
"langchain==0.3.27",
"langchain-community==0.3.29",
2025-08-10 02:25:40 +04:00
"fake-useragent==2.2.0",
"chromadb==1.3.7",
"opensearch-py==3.1.0",
"PyMySQL==1.1.2",
"boto3==1.42.9",
2025-09-12 23:33:08 +04:00
"transformers==4.57.3",
"sentence-transformers==5.2.0",
2025-04-06 17:44:05 -07:00
"accelerate",
"pyarrow==20.0.0", # fix: pin pyarrow version to 20 for rpi compatibility #15897
2025-04-05 11:13:30 -06:00
"einops==0.8.1",
"ftfy==6.3.1",
"chardet==5.2.0",
"pypdf==6.4.2",
"fpdf2==2.8.5",
"pymdown-extensions==10.19.1",
"docx2txt==0.9",
2025-06-16 12:39:42 +04:00
"python-pptx==1.0.2",
"unstructured==0.18.21",
2025-11-13 20:25:27 -05:00
"msoffcrypto-tool==5.4.2",
"nltk==3.9.2",
"Markdown==3.10",
"pypandoc==1.16.2",
"pandas==2.3.3",
2024-08-03 00:47:05 +02:00
"openpyxl==3.1.5",
"pyxlsb==1.0.10",
"xlrd==2.0.2",
2025-06-10 17:50:32 +04:00
"validators==0.35.0",
2024-08-03 00:47:05 +02:00
"psutil",
2024-11-04 14:25:35 -08:00
"sentencepiece",
2025-02-01 21:02:12 -08:00
"soundfile==0.13.1",
2025-06-10 17:50:32 +04:00
"azure-ai-documentintelligence==1.0.2",
"pillow==12.0.0",
"opencv-python-headless==4.12.0.88",
2025-05-05 16:49:21 +04:00
"rapidocr-onnxruntime==1.4.4",
"rank-bm25==0.2.2",
"onnxruntime==1.23.2",
"faster-whisper==1.2.1",
"black==25.12.0",
"youtube-transcript-api==1.2.3",
2024-05-22 09:50:22 +01:00
"pytube==15.0.0",
2024-06-11 19:14:47 -07:00
"pydub",
"ddgs==9.9.3",
2025-01-22 10:43:08 -08:00
"google-api-python-client",
"google-auth-httplib2",
"google-auth-oauthlib",
"googleapis-common-protos==1.72.0",
"google-cloud-storage==3.7.0",
"azure-identity==1.25.1",
"azure-storage-blob==12.27.1",
2025-01-22 10:43:08 -08:00
"ldap3==2.9.1",
]
readme = "README.md"
2024-12-14 18:09:10 +08:00
requires-python = ">= 3.11, < 3.13.0a1"
dynamic = ["version"]
classifiers = [
"Development Status :: 4 - Beta",
2025-06-17 12:17:02 +04:00
"License :: Other/Proprietary License",
2024-05-20 11:12:03 +08:00
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
2024-12-14 18:09:10 +08:00
"Programming Language :: Python :: 3.12",
"Topic :: Communications :: Chat",
"Topic :: Multimedia",
]
2025-08-26 23:05:44 +04:00
[project.optional-dependencies]
postgres = [
"psycopg2-binary==2.9.11",
"pgvector==0.4.2",
2025-08-26 23:05:44 +04:00
]
all = [
"pymongo",
"psycopg2-binary==2.9.9",
"pgvector==0.4.0",
"moto[s3]>=5.0.26",
"gcp-storage-emulator>=2024.8.3",
"docker~=7.1.0",
"pytest~=8.3.2",
"pytest-docker~=3.2.5",
"playwright==1.57.0", # Caution: version must match docker-compose.playwright.yaml - Update the docker-compose.yaml if necessary
"elasticsearch==9.2.0",
2025-09-12 23:33:08 +04:00
"qdrant-client==1.16.2",
"pymilvus==2.6.4",
"weaviate-client==4.18.3",
"pymilvus==2.6.5",
2025-09-12 23:33:08 +04:00
"pinecone==6.0.2",
"oracledb==3.4.1",
"colbert-ai==0.2.22",
2025-11-13 19:14:00 -05:00
"firecrawl-py==4.11.0",
2025-11-13 19:14:00 -05:00
"azure-search-documents==11.6.0",
2025-08-26 23:05:44 +04:00
]
[project.scripts]
open-webui = "open_webui:app"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.rye]
managed = true
dev-dependencies = []
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.version]
path = "package.json"
pattern = '"version":\s*"(?P<version>[^"]+)"'
2024-05-20 11:12:03 +08:00
[tool.hatch.build.hooks.custom] # keep this for reading hooks from `hatch_build.py`
[tool.hatch.build.targets.wheel]
sources = ["backend"]
exclude = [
".dockerignore",
".gitignore",
".webui_secret_key",
"dev.sh",
"requirements.txt",
"start.sh",
"start_windows.bat",
2024-05-20 11:12:03 +08:00
"webui.db",
"chroma.sqlite3",
]
2024-05-20 11:12:03 +08:00
force-include = { "CHANGELOG.md" = "open_webui/CHANGELOG.md", build = "open_webui/frontend" }
2025-01-03 14:06:43 -05:00
[tool.codespell]
# Ref: https://github.com/codespell-project/codespell#using-a-config-file
skip = '.git*,*.svg,package-lock.json,i18n,*.lock,*.css,*-bundle.js,locales,example-doc.txt,emoji-shortcodes.json'
check-hidden = true
# ignore-regex = ''
ignore-words-list = 'ans'
[dependency-groups]
dev = [
"pytest-asyncio>=1.0.0",
]