🟢 Kricko Python SDK (pip install kricko)
Run AI. Offline. Everywhere. Official Python SDK and CLI for Kricko local LLM engine by Cortiqa.
⚡ Installation
pip install kricko
🚀 Quick Start in Python
1. Basic Chat
import kricko
# Chat directly with Gemma 2B or your loaded model
response = kricko.chat("Explain quantum computing in one sentence")
print(response)
2. Streaming Tokens (Real-time generation)
import kricko
model = kricko.load("gemma-2b")
for token in model.stream("Tell me a motivational quote in Hindi"):
print(token, end="", flush=True)
print()
3. Model Management & Server
import kricko
# Download a model
kricko.pull("gemma-2b")
# Start OpenAI-compatible REST server (http://localhost:8080)
kricko.serve(model="gemma-2b", port=8080)
💻 Python CLI Commands
After running pip install kricko, the kricko command is available in your shell:
kricko version # Show version and engine status
kricko list # List installed & available models
kricko pull gemma-2b # Download model weights
kricko run gemma-2b # Start terminal chat session
kricko serve # Start local OpenAI server
📄 License
Apache-2.0 © Cortiqa.
Metadata
Release files for kricko 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| kricko-0.1.0.tar.gz | 7.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| kricko-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.1 kB
Release files / kricko-0.1.0.tar.gz
| Download URL | kricko-0.1.0.tar.gz |
|---|---|
| Size | 7.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0eb7b94f15d3c5a2fc8d9bcd30fd47423d21c7c9260f29c7b9f7eb98e4239593
|
|
BLAKE2b-256 checksum How to use checksums |
bf5887be47d2c7bc7328cb90eb00184053f9139ac024ec5c43477bef21c82185
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.1
|
Release files / kricko-0.1.0-py3-none-any.whl
| Download URL | kricko-0.1.0-py3-none-any.whl |
|---|---|
| Size | 8.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cf1cbf89749ac5f1be84fee7c30930e796f0452cd3b84ed2372d70a7d9c97c18
|
|
BLAKE2b-256 checksum How to use checksums |
3269d7d521e6b41ba026b6f4b1f5a0161a3aa46e4760874b026a4f935bbe44b9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.1
|