Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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), 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.

A notebook cell's # @output_dir folder promoted to the server is no table: fetch refuses it and names the call that reads it.

client.download_folder(artifact_id, version, "checkpoints")

This rebuilds the folder's files in a new or empty directory, checking each file's size and sha256 against the folder's listing. On any failure nothing is left at the destination.

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.12.0rc1

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.12.0rc1
File Size Uploaded Provenance Actions
strata_client-0.12.0rc1.tar.gz 29.9 kB With provenance Details for strata_client-0.12.0rc1.tar.gz

Built distribution (wheel)

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

Total release size: 66.7 kB

Release files / strata_client-0.12.0rc1.tar.gz

Download URL strata_client-0.12.0rc1.tar.gz
Size 29.9 kB
Tags Source
SHA-256 checksum
How to use checksums
eb00236dcd3d7b08e60b504c2b47d9c74ad185a37e568d68375e9f840e181782
BLAKE2b-256 checksum
How to use checksums
ac429d8e9fb97ffd63c856fe602597cffc736adfe1264f26ff6a9b6ff9f7caea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 26, 2026.

Transparency log

Release files / strata_client-0.12.0rc1-py3-none-any.whl

Download URL strata_client-0.12.0rc1-py3-none-any.whl
Size 36.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
31070cf9bb6784ee497f871828fb069e9f82660c444fbc7992162460a4da83ea
BLAKE2b-256 checksum
How to use checksums
e9475f4ea2004c0e7d8764b53890c19d1a6adae03a13b76b3f97c490bf61729e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 26, 2026.

Transparency log

Security for strata-client 0.12.0rc1

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for strata_client-0.12.0rc1.tar.gz

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 Nov 26, 2026.

Transparency log

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