pyproject.toml 2.54 KB
Newer Older
1
2
3
4
[project]
name = "open-webui"
description = "Open WebUI (Formerly Ollama WebUI)"
authors = [
Timothy J. Baek's avatar
refac  
Timothy J. Baek committed
5
    { name = "Timothy Jaeryang Baek", email = "tim@openwebui.com" }
6
7
8
]
license = { file = "LICENSE" }
dependencies = [
9
    "fastapi==0.111.0",
10
11
12
13
14
    "uvicorn[standard]==0.22.0",
    "pydantic==2.7.1",
    "python-multipart==0.0.9",

    "Flask==3.0.3",
15
    "Flask-Cors==4.0.1",
16
17
18
19
20

    "python-socketio==5.11.2",
    "python-jose==3.3.0",
    "passlib[bcrypt]==1.7.4",

21
    "requests==2.32.2",
22
    "aiohttp==3.9.5",
23
    "peewee==3.17.5",
24
25
26
    "peewee-migrate==1.12.2",
    "psycopg2-binary==2.9.9",
    "PyMySQL==1.1.0",
27
    "bcrypt==4.1.3",
28

29
    "boto3==1.34.110",
30
31
32

    "argon2-cffi==23.1.0",
    "APScheduler==3.10.4",
33
    "google-generativeai==0.5.4",
34

35
36
37
    "langchain==0.2.0",
    "langchain-community==0.2.0",
    "langchain-chroma==0.1.1",
38
39

    "fake-useragent==1.5.1",
40
    "chromadb==0.5.0",
41
42
43
    "sentence-transformers==2.7.0",
    "pypdf==4.2.0",
    "docx2txt==0.8",
44
    "unstructured==0.14.0",
45
46
47
48
49
50
51
52
53
    "Markdown==3.6",
    "pypandoc==1.13",
    "pandas==2.2.2",
    "openpyxl==3.1.2",
    "pyxlsb==1.0.10",
    "xlrd==2.0.1",
    "validators==0.28.1",

    "opencv-python-headless==4.9.0.80",
54
    "rapidocr-onnxruntime==1.3.22",
55

56
    "fpdf2==2.7.9",
57
58
    "rank-bm25==0.2.2",

59
    "faster-whisper==1.0.2",
60
61

    "PyJWT[crypto]==2.8.0",
62
    "authlib==1.3.1",
63
64

    "black==24.4.2",
65
    "langfuse==2.33.0",
66
    "youtube-transcript-api==0.6.2",
67
    "pytube==15.0.0",
Timothy J. Baek's avatar
Timothy J. Baek committed
68
69
70
71
    "extract_msg",
    "pydub",
    "duckduckgo-search~=6.1.5"

72
73
74
75
76
77
78
]
readme = "README.md"
requires-python = ">= 3.11, < 3.12.0a1"
dynamic = ["version"]
classifiers = [
    "Development Status :: 4 - Beta",
    "License :: OSI Approved :: MIT License",
Tang Ziya's avatar
Tang Ziya committed
79
80
    "Programming Language :: Python :: 3",
    "Programming Language :: Python :: 3.11",
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
    "Topic :: Communications :: Chat",
    "Topic :: Multimedia",
]

[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>[^"]+)"'

Tang Ziya's avatar
Tang Ziya committed
103
104
[tool.hatch.build.hooks.custom]  # keep this for reading hooks from `hatch_build.py`

105
106
107
108
109
110
111
112
113
114
[tool.hatch.build.targets.wheel]
sources = ["backend"]
exclude = [
    ".dockerignore",
    ".gitignore",
    ".webui_secret_key",
    "dev.sh",
    "requirements.txt",
    "start.sh",
    "start_windows.bat",
Tang Ziya's avatar
Tang Ziya committed
115
116
    "webui.db",
    "chroma.sqlite3",
117
]
Tang Ziya's avatar
Tang Ziya committed
118
force-include = { "CHANGELOG.md" = "open_webui/CHANGELOG.md", build = "open_webui/frontend" }