Skip to main content

elbi-core

The SDK for building derivations: versioned, testable functions that transform your data and serve the result to AI agents over the Model Context Protocol.

pip install elbi-core          # the SDK on its own
pip install "elbi-core[cli]"   # and the `elbi` command line
pip install "elbi-core[data]"  # and columnar formats (parquet)

For the chat app and web UI as well, install elbi instead.

from elbi import Artifact, Context, Dataset, derivation, serve


@derivation(
    inputs={"sales": Dataset("sales")},
    serve=serve.table(title="Churn risk", max_rows=50),
)
def churn_risk(ctx: Context) -> Artifact:
    """Per-customer churn-risk scores."""
    rows = ctx.input("sales").rows
    scored = [
        {"customer_id": r["customer_id"], "risk": 1 / (1 + float(r["amount"]))}
        for r in rows
    ]
    return Artifact.table(scored)

See the repository README and the Open Derivation Spec for more.

Licensed under Apache-2.0.

Metadata

Release files for elbi-core 0.2.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 elbi-core 0.2.0
File Size Uploaded
elbi_core-0.2.0.tar.gz 527.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for elbi-core 0.2.0
File Interpreter ABI Platform
elbi_core-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 993.7 kB

Release files / elbi_core-0.2.0.tar.gz

Download URL elbi_core-0.2.0.tar.gz
Size 527.5 kB
Tags Source
SHA-256 checksum
How to use checksums
518b76d09ee59aafea23fe24e78de41a3fdc68c99825b5caa2218f802f10b43a
BLAKE2b-256 checksum
How to use checksums
4f5f8c9e1f6cd7718cb75f03d3befc4668e5833a26811e9305835e4c7d5835d9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 14, 2026.

Transparency log

Release files / elbi_core-0.2.0-py3-none-any.whl

Download URL elbi_core-0.2.0-py3-none-any.whl
Size 466.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5a5d4f12f6478b349722425d7f21bc72a8c38d5b9d0577f6a0ea0ad695bdfd9e
BLAKE2b-256 checksum
How to use checksums
c49340098a265f8f8bd5add30f378a6a285c1ea34bcca5ae6d91c21f45e3b7a8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 14, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.0

2 release files

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