shiftgate 0.1.3__tar.gz → 0.1.4__tar.gz
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.
- {shiftgate-0.1.3 → shiftgate-0.1.4}/PKG-INFO +1 -1
- {shiftgate-0.1.3 → shiftgate-0.1.4}/pyproject.toml +13 -5
- shiftgate-0.1.4/shiftgate/__init__.py +9 -0
- shiftgate-0.1.4/shiftgate/cli.py +669 -0
- shiftgate-0.1.4/shiftgate/data/__init__.py +1 -0
- shiftgate-0.1.4/shiftgate/feedback/__init__.py +1 -0
- shiftgate-0.1.4/shiftgate/feedback/loop.py +182 -0
- shiftgate-0.1.4/shiftgate/registry/__init__.py +1 -0
- shiftgate-0.1.4/shiftgate/registry/adapter_registry.py +253 -0
- shiftgate-0.1.4/shiftgate/registry/schemas.py +187 -0
- shiftgate-0.1.4/shiftgate/registry/task_registry.py +206 -0
- shiftgate-0.1.4/shiftgate/router/__init__.py +1 -0
- shiftgate-0.1.4/shiftgate/router/embedder.py +95 -0
- shiftgate-0.1.4/shiftgate/router/matcher.py +209 -0
- shiftgate-0.1.4/shiftgate/router/router.py +97 -0
- shiftgate-0.1.4/shiftgate/runtime/__init__.py +1 -0
- shiftgate-0.1.4/shiftgate/runtime/backend.py +289 -0
- shiftgate-0.1.4/shiftgate/utils/__init__.py +1 -0
- shiftgate-0.1.4/shiftgate/utils/display.py +413 -0
- shiftgate-0.1.4/tests/__init__.py +1 -0
- shiftgate-0.1.4/tests/test_feedback.py +261 -0
- shiftgate-0.1.4/tests/test_packaging.py +178 -0
- shiftgate-0.1.4/tests/test_registry.py +471 -0
- shiftgate-0.1.4/tests/test_router.py +309 -0
- {shiftgate-0.1.3 → shiftgate-0.1.4}/.gitignore +0 -0
- {shiftgate-0.1.3 → shiftgate-0.1.4}/README.md +0 -0
- {shiftgate-0.1.3 → shiftgate-0.1.4}/shiftgate/data/default_tasks.json +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: shiftgate
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.4
|
|
4
4
|
Summary: Intelligent routing layer that automatically selects the right LoRA adapter for each task in your local agent loop.
|
|
5
5
|
Project-URL: Homepage, https://github.com/shiftgate-ai/shiftgate
|
|
6
6
|
Project-URL: Repository, https://github.com/shiftgate-ai/shiftgate
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "shiftgate"
|
|
7
|
-
version = "0.1.
|
|
7
|
+
version = "0.1.4"
|
|
8
8
|
description = "Intelligent routing layer that automatically selects the right LoRA adapter for each task in your local agent loop."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.10"
|
|
@@ -47,15 +47,23 @@ Homepage = "https://github.com/shiftgate-ai/shiftgate"
|
|
|
47
47
|
Repository = "https://github.com/shiftgate-ai/shiftgate"
|
|
48
48
|
Issues = "https://github.com/shiftgate-ai/shiftgate/issues"
|
|
49
49
|
|
|
50
|
+
# Wheel: ship the whole importable package. Non-.py data files inside the
|
|
51
|
+
# package directory (e.g. shiftgate/data/default_tasks.json) are included
|
|
52
|
+
# automatically because they live under the packaged directory.
|
|
50
53
|
[tool.hatch.build.targets.wheel]
|
|
51
54
|
packages = ["shiftgate"]
|
|
52
55
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
+
# Sdist: must contain the FULL source tree. The wheel published to PyPI is
|
|
57
|
+
# built from the sdist, so a restrictive sdist `include` here silently strips
|
|
58
|
+
# the .py modules out of the resulting wheel (the 0.1.3 regression). Include
|
|
59
|
+
# the entire package plus tests so `uv build` / `python -m build` reproduce a
|
|
60
|
+
# complete wheel.
|
|
56
61
|
[tool.hatch.build.targets.sdist]
|
|
57
62
|
include = [
|
|
58
|
-
"/shiftgate
|
|
63
|
+
"/shiftgate",
|
|
64
|
+
"/tests",
|
|
65
|
+
"/README.md",
|
|
66
|
+
"/pyproject.toml",
|
|
59
67
|
]
|
|
60
68
|
|
|
61
69
|
[tool.pytest.ini_options]
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"""
|
|
2
|
+
shiftgate — Intelligent LoRA adapter routing for local LLM inference.
|
|
3
|
+
|
|
4
|
+
Automatically selects the right adapter for each task using semantic
|
|
5
|
+
similarity, inspired by the LORAUTER paper (EPFL, 2026).
|
|
6
|
+
"""
|
|
7
|
+
|
|
8
|
+
__version__ = "0.1.0"
|
|
9
|
+
__author__ = "shiftgate contributors"
|