Skip to main content

Loomcast

CI Status License: MIT Python Version

Python SDK and CLI for seamlessly managing local LLM runtimes (Ollama, LM Studio, and llama.cpp).

Installation

pip install -e .

Quick Start

CLI Usage

# Check status of local runtimes
loomcast status

# List installed models
loomcast list

# Search catalog for models
loomcast search code

# Recommend models for a specific task or tag
loomcast recommend coding

# Batch install all models in a category
loomcast install-category code --backend ollama

# Send a prompt to a model
loomcast chat llama3 "Hello world!" --backend ollama

# Verify installed model integrity
loomcast verify llama3 --backend ollama

Python SDK Usage

import loomcast

# Initialize manager
manager = loomcast.LoomcastManager()

# Search catalog
results = loomcast.search("code")
for model in results:
    print(model.name, model.description)

# Recommend models for a task
recs = loomcast.recommend("coding")

# Batch install category
installed, failed = loomcast.install_category("code", runtime_type="ollama")

# Send chat messages
response = loomcast.chat("llama3", [{"role": "user", "content": "Hello!"}], runtime_type="ollama")
print(response)

# Verify model integrity
verification = loomcast.verify("llama3", runtime_type="ollama")
print(f"Verified: {verification.verified}, Digest: {verification.digest}")

Documentation

Detailed documentation guides are available in the docs/ directory:

Metadata

Release files for loomcast 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for loomcast 0.1.0
File Size Uploaded Provenance
loomcast-0.1.0.tar.gz 30.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for loomcast 0.1.0
File Interpreter ABI Platform
loomcast-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 58.5 kB

Release files / loomcast-0.1.0.tar.gz

Download URL loomcast-0.1.0.tar.gz
Size 30.0 kB
Tags Source
SHA-256 checksum
How to use checksums
5dc10b7ca2f4daff9e97debbadc5b278a73cc3bcbabfcd3c9d4d18a972cc5a1e
BLAKE2b-256 checksum
How to use checksums
2385b884da7a00a86bce90094d7d4586dd7dba93e1ac6fe2ca148faa1f977ee1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release files / loomcast-0.1.0-py3-none-any.whl

Download URL loomcast-0.1.0-py3-none-any.whl
Size 28.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b616ca434dc692885f841e200859be54dfc72c027b038f659f065fa237766160
BLAKE2b-256 checksum
How to use checksums
a0bda4fb423c4cc750b5d9a027a038e6d436deaac20ced0d30eaf54ff12da56e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Security for loomcast 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page