kalibr 1.0.15__tar.gz → 1.0.16__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.
- {kalibr-1.0.15/kalibr.egg-info → kalibr-1.0.16}/PKG-INFO +1 -1
- kalibr-1.0.16/kalibr/__main__.py +31 -0
- {kalibr-1.0.15 → kalibr-1.0.16/kalibr.egg-info}/PKG-INFO +1 -1
- {kalibr-1.0.15 → kalibr-1.0.16}/pyproject.toml +1 -1
- {kalibr-1.0.15 → kalibr-1.0.16}/setup.py +1 -1
- kalibr-1.0.15/kalibr/__main__.py +0 -4
- {kalibr-1.0.15 → kalibr-1.0.16}/KALIBR_SDK_COMPLETE.md +0 -0
- {kalibr-1.0.15 → kalibr-1.0.16}/LICENSE.txt +0 -0
- {kalibr-1.0.15 → kalibr-1.0.16}/MANIFEST.in +0 -0
- {kalibr-1.0.15 → kalibr-1.0.16}/README.md +0 -0
- {kalibr-1.0.15 → kalibr-1.0.16}/examples/__init__.py +0 -0
- {kalibr-1.0.15 → kalibr-1.0.16}/examples/demo_app.py +0 -0
- {kalibr-1.0.15 → kalibr-1.0.16}/examples/enhanced_kalibr_example.py +0 -0
- {kalibr-1.0.15 → kalibr-1.0.16}/kalibr/__init__.py +0 -0
- {kalibr-1.0.15 → kalibr-1.0.16}/kalibr/kalibr_app.py +0 -0
- {kalibr-1.0.15 → kalibr-1.0.16}/kalibr/schema_generators.py +0 -0
- {kalibr-1.0.15 → kalibr-1.0.16}/kalibr.egg-info/SOURCES.txt +0 -0
- {kalibr-1.0.15 → kalibr-1.0.16}/kalibr.egg-info/dependency_links.txt +0 -0
- {kalibr-1.0.15 → kalibr-1.0.16}/kalibr.egg-info/entry_points.txt +0 -0
- {kalibr-1.0.15 → kalibr-1.0.16}/kalibr.egg-info/requires.txt +0 -0
- {kalibr-1.0.15 → kalibr-1.0.16}/kalibr.egg-info/top_level.txt +0 -0
- {kalibr-1.0.15 → kalibr-1.0.16}/setup.cfg +0 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import typer
|
|
2
|
+
from kalibr.kalibr_app import serve_app, deploy_app
|
|
3
|
+
|
|
4
|
+
cli = typer.Typer(help="Kalibr Connect CLI")
|
|
5
|
+
|
|
6
|
+
@cli.command("serve")
|
|
7
|
+
def serve(file: str):
|
|
8
|
+
"""Run a Kalibr app locally."""
|
|
9
|
+
serve_app(file)
|
|
10
|
+
|
|
11
|
+
@cli.command("deploy")
|
|
12
|
+
def deploy(file: str):
|
|
13
|
+
"""Deploy a Kalibr app."""
|
|
14
|
+
deploy_app(file)
|
|
15
|
+
|
|
16
|
+
@cli.command("usage")
|
|
17
|
+
def usage():
|
|
18
|
+
"""Show usage guide."""
|
|
19
|
+
print("""
|
|
20
|
+
Kalibr Connect Commands:
|
|
21
|
+
kalibr-connect serve <file> Run a Kalibr app locally.
|
|
22
|
+
kalibr-connect deploy <file> Deploy your Kalibr app.
|
|
23
|
+
kalibr-connect usage Show this usage guide.
|
|
24
|
+
""")
|
|
25
|
+
|
|
26
|
+
def main():
|
|
27
|
+
"""Entry point for console_scripts."""
|
|
28
|
+
cli()
|
|
29
|
+
|
|
30
|
+
if __name__ == "__main__":
|
|
31
|
+
main()
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "kalibr"
|
|
7
|
-
version = "1.0.
|
|
7
|
+
version = "1.0.16"
|
|
8
8
|
description = "Kalibr SDK — Integrate your SaaS with every major AI model using a single SDK."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
authors = [{ name = "Devon" }]
|
|
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
|
|
|
2
2
|
|
|
3
3
|
setup(
|
|
4
4
|
name="kalibr",
|
|
5
|
-
version="1.0.
|
|
5
|
+
version="1.0.16", # bump for new upload
|
|
6
6
|
author="Devon",
|
|
7
7
|
author_email="hello@kalibr.systems",
|
|
8
8
|
description="Kalibr SDK — integrate your SaaS or app with every major AI model using one schema.",
|
kalibr-1.0.15/kalibr/__main__.py
DELETED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|