Skip to main content

rho-store

Durable, versioned, shareable tables for AI agents and the scripts around them. Every write makes a new version, so nothing written is ever lost; any version can be read again or restored.

pip install "rho-store[pandas]"   # or [polars]
export RHO_API_KEY=rho_sk_…       # make one in the rho app: API tokens, in the sidebar
import rho

rho.put(df, "research/competitors")  # a new version; columns keep their types
rho.put(new, "research/competitors", mode="upsert", key="company", message="weekly refresh")
df = rho.get("research/competitors")  # latest; version=3 for an earlier one
df = rho.query('SELECT category, count(*) AS n FROM "research/competitors" GROUP BY 1')
rho.history("research/competitors")  # who wrote what, when
rho.restore("research/competitors", version=3)  # as a new version
url = rho.share("research/competitors")  # makes it public: a link anyone can open

put takes a pandas or Polars DataFrame, an Arrow table or a list of dicts. get and query give pandas by default; pass as_="polars", "arrow" or "rows". Data travels as Parquet, never JSON, so types come back as they went: whole numbers stay whole (nullable ones become Int64), timestamps keep nanoseconds, decimals their scale. A few things rho keeps differently: a time zone becomes UTC (the same instant), a category becomes text, and a DataFrame's default index isn't kept (a named one becomes a column). Durations are turned down with a hint.

Modes: replace (the default) makes the data the table, append adds rows, upsert updates rows whose key matches and adds the rest, create fails if the table exists. Pass run="nightly-2026-10-29" to label the job.

Async

async with rho.AsyncClient() as client:
    await client.put(df, "runs/evals", mode="append", run=run_id)
    df = await client.query('SELECT model, avg(score) FROM "runs/evals" GROUP BY 1')

rho.Client and rho.AsyncClient have the same methods; pass api_key= and url= to choose them yourself (RHO_URL points the module functions at another server, e.g. http://localhost:6061).

Anything rho decides about data it's given comes as a rho.RhoWarning; the write is made. Column names are compared without case, so A and a in one frame are turned down. Errors are rho.RhoError, with kind (not_found, exists, schema_conflict, …) and a hint saying what to do.

Metadata

Release files for rho-store 1.0.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 rho-store 1.0.0
File Size Uploaded Provenance Actions
rho_store-1.0.0.tar.gz 66.3 kB Without provenance Details for rho_store-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rho-store 1.0.0
File Interpreter ABI Platform Actions
rho_store-1.0.0-py3-none-any.whl Python 3 none any Details for rho_store-1.0.0-py3-none-any.whl

Total release size: 79.1 kB

Release files / rho_store-1.0.0.tar.gz

Download URL rho_store-1.0.0.tar.gz
Size 66.3 kB
Tags Source
SHA-256 checksum
How to use checksums
af7d2c38d492b3836fd44b7b4ec96125e6779ceb2984847f2ba864ff0ac9e85d
BLAKE2b-256 checksum
How to use checksums
5c262b0af2eba19459aa3eb3f4bf4a1f5f8199aa4a252417dfb702c53a656211
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / rho_store-1.0.0-py3-none-any.whl

Download URL rho_store-1.0.0-py3-none-any.whl
Size 12.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fe1c7bcc216dfad95c78fcba587ee8c9567ec95be1e8a69fdd6f656da67f1842
BLAKE2b-256 checksum
How to use checksums
ff4402adafd6b8def864b268b93461726794fe406271e0dd2bf36f093c9cb03e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for rho-store 1.0.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

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