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.10.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.10.0
File Size Uploaded
strata_client-0.10.0.tar.gz 28.4 kB Details

Built distribution (wheel)

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

Total release size: 61.8 kB

Release files / strata_client-0.10.0.tar.gz

Download URL strata_client-0.10.0.tar.gz
Size 28.4 kB
Tags Source
SHA-256 checksum
How to use checksums
a1c4ae3b788b08d198ac2a963b34d985814b9699bb939b66fcf16aac766bb3c6
BLAKE2b-256 checksum
How to use checksums
674779fc9398dfe4e6d5ad760950ae8325c524b001f7599364a9e19a16e0bcc9
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 13, 2026.

Transparency log

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

Download URL strata_client-0.10.0-py3-none-any.whl
Size 33.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
afd0ce791160c22fcb0462f7a415582b44127ba0f47ce7d87055cd7a6db36a5d
BLAKE2b-256 checksum
How to use checksums
34bb3f6af813aec5b41853ca591d4234a8901d4caead3f0798bbd4587512e784
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 13, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.10.0 This release

2 release files

0.9.0

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