argrouter 0.1.0a1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
argrouter/__init__.py ADDED
@@ -0,0 +1,47 @@
1
+ """argrouter — LLM cost routing with a correct per-request cost.
2
+
3
+ Public API:
4
+ expected_cost, Catalog, ModelPrice — the cost model
5
+ select, Endpoint, Policy — provider selection for one model
6
+ """
7
+
8
+ from argrouter.catalog.pricing import (
9
+ CacheRates,
10
+ Catalog,
11
+ ContextTier,
12
+ CostBreakdown,
13
+ ModelPrice,
14
+ PricingError,
15
+ UnpricedModel,
16
+ cost_per_quality_point,
17
+ expected_cost,
18
+ )
19
+ from argrouter.forecast import Forecast, OutputForecaster
20
+ from argrouter.providers import (
21
+ Endpoint,
22
+ NoEligibleProvider,
23
+ Policy,
24
+ Selection,
25
+ select,
26
+ )
27
+
28
+ __version__ = "0.1.0a1"
29
+
30
+ __all__ = [
31
+ "CacheRates",
32
+ "Catalog",
33
+ "ContextTier",
34
+ "CostBreakdown",
35
+ "Endpoint",
36
+ "Forecast",
37
+ "ModelPrice",
38
+ "NoEligibleProvider",
39
+ "OutputForecaster",
40
+ "Policy",
41
+ "PricingError",
42
+ "Selection",
43
+ "UnpricedModel",
44
+ "cost_per_quality_point",
45
+ "expected_cost",
46
+ "select",
47
+ ]
argrouter/__main__.py ADDED
@@ -0,0 +1,13 @@
1
+ """Konsol giris noktasi. `uvx argrouter` ve MCP dagitimi icin gerekli."""
2
+
3
+ import sys
4
+
5
+
6
+ def main() -> int:
7
+ print("argrouter 0.0.0 — pre-release. Henuz CLI yok, kutuphane kullanilabilir.")
8
+ print(" from argrouter.catalog.pricing import Catalog, expected_cost")
9
+ return 0
10
+
11
+
12
+ if __name__ == "__main__":
13
+ sys.exit(main())
@@ -0,0 +1 @@
1
+ """Price catalog and the per-request cost model."""