Skip to main content

litmus-sdk

LLM regression testing via embedding drift.

Install

pip install litmus-sdk

Quick start

from litmus_sdk import LitmusSDK

sdk = LitmusSDK(db_path="./litmus.db", project_id="my-project")
sdk.init("v1.0.0")

# Your litellm calls are now instrumented automatically
import litellm
response = litellm.completion(model="gpt-4o-mini", messages=[{"role": "user", "content": "Hello"}])

# Compare two versions
report = sdk.compare("v1.0.0", "v2.0.0")
report.display()

CLI

litmus --help

Development

pip install -e ".[dev]"
pytest tests/

Metadata

Release files for litmus-sdk 0.2.1

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

Source distribution (sdist)

Source distribution for litmus-sdk 0.2.1
File Size Uploaded Provenance Actions
litmus_sdk-0.2.1.tar.gz 40.3 kB Without provenance Details for litmus_sdk-0.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for litmus-sdk 0.2.1
File Interpreter ABI Platform Actions
litmus_sdk-0.2.1-py3-none-any.whl Python 3 none any Details for litmus_sdk-0.2.1-py3-none-any.whl

Total release size: 90.2 kB

Release files / litmus_sdk-0.2.1.tar.gz

Download URL litmus_sdk-0.2.1.tar.gz
Size 40.3 kB
Tags Source
SHA-256 checksum
How to use checksums
a8fa6e281376d3f04043686f51634ddd452326af2dc01e94afcbe28dab8b7fcc
BLAKE2b-256 checksum
How to use checksums
e50891d3a956ed012387fe4cf895080a97074c7e99b6121e66d78bdcda29cd55
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.14

Release files / litmus_sdk-0.2.1-py3-none-any.whl

Download URL litmus_sdk-0.2.1-py3-none-any.whl
Size 49.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
708674c8b708d46a6301fedcdf7aeba608f0442a79c89c9aa46f3f69aa5b26a9
BLAKE2b-256 checksum
How to use checksums
1fb029cebfe9a0b3f5b40855c5982a3f9e7726fad2115ea45a4506488f052d16
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.14

Security for litmus-sdk 0.2.1

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