Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
65 lines (60 loc) · 1.76 KB
/
Copy pathpyproject.toml
File metadata and controls
65 lines (60 loc) · 1.76 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
[project]
name = "oikb"
version = "0.6.0"
description = "Sync anything to Open WebUI Knowledge Bases"
readme = "README.md"
authors = [
{ name = "Tim Baek", email = "tim@openwebui.com" }
]
requires-python = ">=3.11"
license = {file = "LICENSE"}
dependencies = [
"click>=8.1",
"croniter>=2.0",
"httpx>=0.27",
"prometheus-client>=0.20",
"pyyaml>=6.0",
"rich>=13.0",
"watchdog>=4.0",
"fastapi>=0.115",
"uvicorn[standard]>=0.30",
]
[project.optional-dependencies]
s3 = ["boto3>=1.34"]
gcs = ["google-cloud-storage>=2.14"]
azure = ["azure-storage-blob>=12.19"]
dropbox = ["dropbox>=12.0"]
r2 = ["boto3>=1.34"]
gdrive = ["google-api-python-client>=2.100", "google-auth>=2.25"]
gmail = ["google-api-python-client>=2.100", "google-auth>=2.25"]
gsites = ["google-api-python-client>=2.100", "google-auth>=2.25"]
web = ["beautifulsoup4>=4.12"]
oracle = ["oci"]
sharepoint-cert = ["cryptography>=42.0", "PyJWT>=2.8"]
# PyMuPDF 2.x requires onnxruntime, which has no Alpine (musl) distribution.
zotero = ["pyzotero>=1.5", "pymupdf>=1.24,<2"]
all = [
"boto3>=1.34",
"google-cloud-storage>=2.14",
"azure-storage-blob>=12.19",
"dropbox>=12.0",
"google-api-python-client>=2.100",
"google-auth>=2.25",
"beautifulsoup4>=4.12",
"oci",
"cryptography>=42.0",
"PyJWT>=2.8",
"pyzotero>=1.5",
"pymupdf>=1.24,<2",
]
dev = ["pytest>=8.0", "pytest-asyncio>=0.23", "respx>=0.21"]
[project.scripts]
oikb = "oikb.cli:cli"
[build-system]
requires = ["uv_build>=0.8.0,<0.9"]
build-backend = "uv_build"
[tool.uv]
# PyMuPDF 1.x source builds (Alpine arm64) are incompatible with SWIG 4.5+.
build-constraint-dependencies = ["swig<4.5"]
[tool.pytest.ini_options]
markers = ["integration: opt-in tests using disposable Gitea Docker containers"]