Skip to main content

strata-client

A lightweight Python client for a Strata server. Depends only on httpx + pyarrow, none of the server's stack (no pyiceberg / fastapi / duckdb / pydantic, no Rust extension), so it drops into any analysis venv, training image, CI job, or notebook without dragging the deployable service along.

pip install strata-client
pip install "strata-client[duckdb]"   # or pandas, polars, datafusion, all
from strata_client import StrataClient

with StrataClient() as client:  # resolves the server URL from STRATA_SERVER_URL,
    # STRATA_HOST / STRATA_PORT, or [tool.strata]
    art = client.materialize(
        inputs=["file:///warehouse#db.events"],
        transform={"executor": "scan@v1", "params": {}},
    )
    table = client.fetch(art.uri)

    # Persist a result computed locally, with its lineage
    clean = client.put(
        inputs=[art.uri],
        transform={"executor": "clean@v1", "params": {}},
        data=table,
        name="team/dataset/clean",
    )

    # Registry: names, aliases, tags, audit
    client.set_alias("team/dataset/clean", "champion", clean.artifact_id, clean.version)

An unnamed result such as art is a cache entry: the server keeps it while it is used and its retention sweep may collect it later, after which the same call computes it again. A named one (clean) is kept.

The client and the server distribution (strata-notebook) are independent: they share only the JSON wire protocol, and neither depends on the other. Code written against the old strata.client module imports strata_client instead.

Metadata

Release files for strata-client 0.9.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 strata-client 0.9.0
File Size Uploaded
strata_client-0.9.0.tar.gz 28.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for strata-client 0.9.0
File Interpreter ABI Platform
strata_client-0.9.0-py3-none-any.whl Python 3 none any Details

Total release size: 61.8 kB

Release files / strata_client-0.9.0.tar.gz

Download URL strata_client-0.9.0.tar.gz
Size 28.4 kB
Tags Source
SHA-256 checksum
How to use checksums
b26d4a6212a2290210a81d8a862f2c2e2147ec604d3422c033fd4fc8e1aa8ed9
BLAKE2b-256 checksum
How to use checksums
a174827707153d823487afa0d3c4c647d5977ecde63fabf1b7a4259af927c510
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 7, 2026.

Transparency log

Release files / strata_client-0.9.0-py3-none-any.whl

Download URL strata_client-0.9.0-py3-none-any.whl
Size 33.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8223379b244e96c0ad99bd9f2e282d166bd241823b0be68651b0f311e33f2c1d
BLAKE2b-256 checksum
How to use checksums
c1f8f36e87901e7ad8402f545e6f465523e208ac9f8eadba3989f1d9c1d126f1
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 7, 2026.

Transparency log

Release history Release notifications | RSS feed

0.10.0

2 release files

This release

0.9.0 This release

2 release files

0.8.0

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.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