kalibr 1.0.8__tar.gz → 1.0.9__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.
@@ -0,0 +1,11 @@
1
+ Kalibr Source-Available License
2
+
3
+ Copyright (c) 2025 Kalibr Systems.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software
6
+ for the purpose of internal evaluation, testing, or demonstration only.
7
+
8
+ Commercial, production, or revenue-generating use of this software requires a valid commercial
9
+ license from Kalibr Systems (https://kalibr.systems).
10
+
11
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: kalibr
3
- Version: 1.0.8
3
+ Version: 1.0.9
4
4
  Summary: Kalibr SDK — Integrate your SaaS with every major AI model using a single SDK.
5
5
  Home-page: https://github.com/devon/kalibr-sdk
6
6
  Author: Devon
@@ -0,0 +1,48 @@
1
+ import typer
2
+ import os
3
+ import sys
4
+ import subprocess
5
+
6
+ app = typer.Typer(help="Kalibr Connect CLI")
7
+
8
+ def banner():
9
+ print("\n🚀 Kalibr SDK (Demo Mode)")
10
+ print("⚠️ Running in local evaluation mode.")
11
+ print("💡 To enable production or hosted runtime, visit https://kalibr.systems\n")
12
+
13
+ @app.command(help="Run a Kalibr app locally.")
14
+ def serve(file: str):
15
+ """
16
+ Run a Kalibr app locally.
17
+ Example: kalibr-connect serve demo_app.py
18
+ """
19
+ banner()
20
+ print(f"🚀 Serving {file} locally...")
21
+ subprocess.run(["uvicorn", f"{file.replace('.py', '')}:app", "--reload"])
22
+
23
+ @app.command(help="Deploy a Kalibr app (stubbed demo).")
24
+ def deploy(file: str):
25
+ """
26
+ Stubbed deploy command for demo/testing.
27
+ """
28
+ banner()
29
+ print(f"⚙️ Deployment is only available for licensed users.")
30
+ print(f" Visit https://kalibr.systems for API access.\n")
31
+
32
+ @app.command(help="Show this usage guide.")
33
+ def usage():
34
+ print("""
35
+ Kalibr Connect Commands:
36
+ kalibr-connect serve <file> Run a Kalibr app locally.
37
+ kalibr-connect deploy <file> Deploy your Kalibr app (stubbed demo).
38
+ kalibr-connect usage Show this usage guide.
39
+ """)
40
+
41
+ def main():
42
+ api_key = os.getenv("KALIBR_API_KEY")
43
+ if not api_key:
44
+ print("⚠️ No API key detected. Running in local demo mode.")
45
+ app()
46
+
47
+ if __name__ == "__main__":
48
+ main()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: kalibr
3
- Version: 1.0.8
3
+ Version: 1.0.9
4
4
  Summary: Kalibr SDK — Integrate your SaaS with every major AI model using a single SDK.
5
5
  Home-page: https://github.com/devon/kalibr-sdk
6
6
  Author: Devon
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "kalibr"
7
- version = "1.0.8"
7
+ version = "1.0.9"
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.8", # BUMPED VERSION
5
+ version="1.0.9", # BUMPED VERSION
6
6
  author="Devon",
7
7
  author_email="hello@kalibr.systems",
8
8
  description="Kalibr Connect: integrate your app with every major AI model",
kalibr-1.0.8/LICENSE.txt DELETED
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2024 Kalibr SDK
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
@@ -1,29 +0,0 @@
1
- import typer
2
- import subprocess
3
-
4
- app = typer.Typer(help="Kalibr Connect - integrate your app with any AI model instantly.")
5
-
6
- @app.command("serve")
7
- def serve_app(file: str):
8
- """Run a Kalibr app locally."""
9
- typer.echo(f"🚀 Serving {file} locally...")
10
- subprocess.run(["uvicorn", f"{file.replace('.py','')}:app", "--reload"])
11
-
12
- @app.command("deploy")
13
- def deploy_app(file: str):
14
- """Deploy your Kalibr app (placeholder for future)."""
15
- typer.echo(f"🚀 Deploying {file} (not yet implemented).")
16
-
17
- @app.command("usage")
18
- def usage():
19
- """Show Kalibr Connect usage info."""
20
- typer.echo("\nKalibr Connect Commands:")
21
- typer.echo(" kalibr-connect serve <file> Run a Kalibr app locally.")
22
- typer.echo(" kalibr-connect deploy <file> Deploy your Kalibr app.")
23
- typer.echo(" kalibr-connect usage Show this usage guide.\n")
24
-
25
- def main():
26
- app()
27
-
28
- if __name__ == "__main__":
29
- main()
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes