Skip to main content

Data, connected. Versioned data with SQL, time travel, and cross-table ACID transactions.

Project description

rhizo

Query layer for Rhizo - versioned data with SQL, time travel, and cross-table ACID transactions.

Installation

pip install rhizo

From Source

git clone https://github.com/rhizodata/rhizo.git
cd rhizo/python
pip install -e .

Note: Requires rhizo-core (Rust) to be built first. See the main README for full build instructions.

Quick Start

import rhizo
from rhizo import QueryEngine
import pandas as pd

# Initialize storage
store = rhizo.PyChunkStore("./data/chunks")
catalog = rhizo.PyCatalog("./data/catalog")
engine = QueryEngine(store, catalog)

# Write data
df = pd.DataFrame({"id": [1, 2, 3], "name": ["Alice", "Bob", "Charlie"]})
engine.write_table("users", df)

# SQL queries with DuckDB
result = engine.query("SELECT * FROM users WHERE id > 1")
print(result.to_pandas())

# Time travel to any version
result_v1 = engine.query("SELECT * FROM users", versions={"users": 1})

Features

  • SQL Queries: DuckDB-powered analytical queries
  • Time Travel: Query any historical version
  • Cross-Table ACID: Atomic transactions across multiple tables
  • Git-like Branching: Zero-copy branches for experimentation
  • Change Tracking: Subscribe to data changes

Documentation

See rhizodata.dev for full documentation.

License

MIT

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

rhizo-0.1.1.tar.gz (40.0 kB view details)

Uploaded Source

Built Distribution

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

rhizo-0.1.1-py3-none-any.whl (42.4 kB view details)

Uploaded Python 3

File details

Details for the file rhizo-0.1.1.tar.gz.

File metadata

  • Download URL: rhizo-0.1.1.tar.gz
  • Upload date:
  • Size: 40.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for rhizo-0.1.1.tar.gz
Algorithm Hash digest
SHA256 2e417cd902a7b574194a7dcff13a368740d1e33364e8479f33b5f52f9aaa02b1
MD5 1630a35f376ea53432667ebd971668d7
BLAKE2b-256 11b722577bf69bf2430d489a221309eae82506c8f84b5a5fbf00550f80e673fb

See more details on using hashes here.

Provenance

The following attestation bundles were made for rhizo-0.1.1.tar.gz:

Publisher: publish.yml on rhizodata/rhizo

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

File details

Details for the file rhizo-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: rhizo-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 42.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for rhizo-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0c0efac97657c5dd248e3b30274cc57a8d468bb3f484a5c47a07c6f33094d16d
MD5 ad681fa4e799bbd0e7e143e6f39cb87e
BLAKE2b-256 3fda4ecad8cf0bcc43ca18a2e6441d2d5b4fcad45de0e5c5615fe44d00dc6d37

See more details on using hashes here.

Provenance

The following attestation bundles were made for rhizo-0.1.1-py3-none-any.whl:

Publisher: publish.yml on rhizodata/rhizo

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