-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathpyproject.toml
More file actions
82 lines (73 loc) · 2.02 KB
/
pyproject.toml
File metadata and controls
82 lines (73 loc) · 2.02 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
[project]
name = "uncommon-route"
version = "0.7.21"
description = "Local LLM router that cuts premium-model spend with adaptive 3-tier routing, OpenAI + Anthropic compatible"
requires-python = ">=3.11"
license = "MIT"
license-files = ["LICENSE"]
readme = "README.md"
authors = [
{name = "Anjie Yang", email = "andrewanjieyang@gmail.com"},
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
keywords = ["llm", "router", "ai", "smart-routing", "model-selection"]
dependencies = [
"httpx>=0.27",
"uvicorn>=0.30",
"starlette>=0.38",
"numpy>=1.24",
"scikit-learn>=1.4",
"sentence-transformers>=2.7",
"xgboost>=2.0",
]
[project.optional-dependencies]
v2 = [
"scikit-learn>=1.4",
"sentence-transformers>=2.2",
"xgboost>=2.0",
]
tui = [
"textual>=0.60",
]
dev = [
"build>=1.2",
"pytest>=8.0",
"pytest-asyncio>=0.23",
"ruff>=0.4",
"twine>=6.0",
]
[project.scripts]
uncommon-route = "uncommon_route.cli:main"
[project.urls]
Homepage = "https://github.com/CommonstackAI/UncommonRoute"
Repository = "https://github.com/CommonstackAI/UncommonRoute"
Issues = "https://github.com/CommonstackAI/UncommonRoute/issues"
[build-system]
requires = ["setuptools>=68.0"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
include = ["uncommon_route*"]
[tool.setuptools.package-data]
uncommon_route = [
"router/model.json",
"router/benchmark_seed.json",
"static/**/*",
"data/v2_splits/seed_embeddings.npy",
"data/v2_splits/seed_labels.json",
"data/v2_splits/embedding_classifier.pkl",
"data/v2_splits/meta_scaler.pkl",
"data/v2_splits/calibration_params.json",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
[tool.ruff]
target-version = "py311"
line-length = 120