openwebui-oikb/pyproject.toml
Timothy Jaeryang Baek dcf241da7f feat: SharePoint certificate-based authentication (#3)
Add SHAREPOINT_CERTIFICATE_PATH as a secure alternative to
SHAREPOINT_CLIENT_SECRET for authenticating with SharePoint via
Microsoft Graph API.

- JWT assertion flow using cryptography + PyJWT
- SHAREPOINT_CERTIFICATE_PASSWORD for encrypted PEM keys
- Mutual exclusivity validation (secret vs cert)
- New optional extra: pip install oikb[sharepoint-cert]

Closes #3
2026-05-28 16:24:57 -05:00

54 lines
1.4 KiB
TOML

[project]
name = "oikb"
version = "0.3.6"
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"]
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",
]
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"