-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
99 lines (90 loc) · 2.95 KB
/
pyproject.toml
File metadata and controls
99 lines (90 loc) · 2.95 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
[build-system]
requires = ["setuptools>=68.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "faigate"
version = "2.6.1"
description = "Local OpenAI-compatible routing gateway for OpenClaw and other AI-native clients."
readme = "README.md"
license = "Apache-2.0"
requires-python = ">=3.10"
keywords = ["faigate", "openclaw", "llm", "router", "gateway", "proxy", "multi-provider"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Libraries",
"Topic :: Internet :: Proxy Servers",
]
dependencies = [
# Upper bounds on fastapi/pydantic/httpx keep us on versions that ship
# prebuilt wheels (esp. pydantic-core) for all supported Python/macOS/Linux
# combinations. Without these caps, `brew upgrade` and fresh `pip install`
# can drift onto source-only releases and trigger a 3–5 min cargo build.
"fastapi>=0.115.0,<0.137",
"uvicorn[standard]>=0.32.0,<0.48",
"httpx>=0.27.0,<0.29",
"pydantic>=2.9,<2.14",
"pyyaml>=6.0.2",
# ruamel.yaml powers comment-preserving round-trip writes to config.yaml
# from the dashboard settings endpoint. Standard yaml.safe_dump would
# destroy operator-authored comments (section banners, OAuth docs, …).
"ruamel.yaml>=0.18.6",
"python-dotenv>=1.0.1",
"python-multipart>=0.0.9",
]
[project.optional-dependencies]
dev = [
"build>=1.2",
"pytest>=8.0",
"pytest-asyncio>=0.24",
"pytest-cov>=5.0",
"pytest-benchmark>=4.0.0",
"httpx", # for TestClient
"ruff>=0.8",
"twine>=6.1",
"pre-commit>=3.0",
"bandit[toml]>=1.8.0",
"jinja2>=3.1.0",
"textual>=0.52.0",
]
oauth = [
"requests>=2.31.0",
"google-auth>=2.0.0",
]
[project.scripts]
faigate = "faigate.main:main"
faigate-stats = "faigate.cli:main"
faigate-auth = "faigate.oauth.cli:main"
faigate-models = "faigate.models_cli:main"
[project.urls]
Homepage = "https://github.com/fusionAIze/faigate"
Repository = "https://github.com/fusionAIze/faigate"
Issues = "https://github.com/fusionAIze/faigate/issues"
Documentation = "https://github.com/fusionAIze/faigate#readme"
[tool.setuptools.packages.find]
include = ["faigate*"]
[tool.setuptools.package-data]
faigate = [
"vendor/*.js",
"vendor/*.css",
"assets/brand/*.svg",
"assets/fonts/Montserrat/*.ttf",
"assets/fonts/Open-Sans/*.ttf",
"assets/metadata/*.json",
]
[tool.ruff]
line-length = 120
# Must match ``requires-python`` above: ruff/UP rules otherwise rewrite
# e.g. ``datetime.timezone.utc`` → ``datetime.UTC`` (added in 3.11) and
# break CI on the 3.10 job.
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "I", "W", "UP"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]