Skip to main content

Lightweight Python client for Strata — materialize, persist, and query artifacts over HTTP.

Project description

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
from strata_client import StrataClient

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

    # Registry: names, aliases, tags, audit
    client.put(table, name="team/dataset/raw")
    client.set_alias("taxi/tip-model", "champion", art.artifact_id, art.version)

The server distribution (strata-notebook) depends on this package and re-exports it as strata.client for backward compatibility.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

strata_client-0.3.0.tar.gz (27.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

strata_client-0.3.0-py3-none-any.whl (33.2 kB view details)

Uploaded Python 3

File details

Details for the file strata_client-0.3.0.tar.gz.

File metadata

  • Download URL: strata_client-0.3.0.tar.gz
  • Upload date:
  • Size: 27.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for strata_client-0.3.0.tar.gz
Algorithm Hash digest
SHA256 3e598b377ed24010f5075c701ba631bd4ad75fe4f160e04fb19019f6564d2d1a
MD5 e638f4bcecebc77646102419da69f056
BLAKE2b-256 99f1e142fbf3acca82c5dcf885dcc2d8565d4f208d643c478ea16f3c17af37b2

See more details on using hashes here.

Provenance

The following attestation bundles were made for strata_client-0.3.0.tar.gz:

Publisher: release.yml on bearing-research/strata

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file strata_client-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: strata_client-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 33.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for strata_client-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 724d834fb5ab1e919ee923b5274f0b82266e5f2e329907c77ec47c7ec408f8dd
MD5 58fbbe1964161641e85a48b286a3f999
BLAKE2b-256 1b0a2384c38cde70442ba264d63308032ac6f7cf593b80cd28789ee53a6d3f34

See more details on using hashes here.

Provenance

The following attestation bundles were made for strata_client-0.3.0-py3-none-any.whl:

Publisher: release.yml on bearing-research/strata

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page