Skip to main content

Composo Python SDK

Composo provides a Python SDK for evaluating LLM applications.

Installation

pip install composo

Quick Start

from composo import Composo

composo_client = Composo()

result = composo_client.evaluate(
    messages=[
        {"role": "user", "content": "Hello"},
        {"role": "assistant", "content": "Hello! How can I help you today?"}
    ],
    criteria="Reward responses that are friendly"
)

print(f"Score: {result.score}")
print(f"Explanation: {result.explanation}")

Documentation

For detailed documentation, API reference, examples, and guides, please visit docs.composo.ai.

Metadata

Release files for composo 0.4.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 composo 0.4.0
File Size Uploaded Provenance Actions
composo-0.4.0.tar.gz 218.0 kB Without provenance Details for composo-0.4.0.tar.gz

Built distribution (wheel)

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

Total release size: 263.3 kB

Release files / composo-0.4.0.tar.gz

Download URL composo-0.4.0.tar.gz
Size 218.0 kB
Tags Source
SHA-256 checksum
How to use checksums
41efa5f54341707c40fd4513160db05cf68031e6fe5d944ddcbee93710ccae01
BLAKE2b-256 checksum
How to use checksums
175b48c4af8d6aa04de965083b4c85ae807c5f977a9fbc508552fcfd87ecc590
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / composo-0.4.0-py3-none-any.whl

Download URL composo-0.4.0-py3-none-any.whl
Size 45.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4b26f974e62394039802b218c501707971de0997ebf23d4cd364daaf3a9eb60c
BLAKE2b-256 checksum
How to use checksums
0e4fd027037332aa55a292302bfc1db6b87cff08997cd891f1c039a63967bd34
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for composo 0.4.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.

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 release files No provenance

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