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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2e417cd902a7b574194a7dcff13a368740d1e33364e8479f33b5f52f9aaa02b1
|
|
| MD5 |
1630a35f376ea53432667ebd971668d7
|
|
| BLAKE2b-256 |
11b722577bf69bf2430d489a221309eae82506c8f84b5a5fbf00550f80e673fb
|
Provenance
The following attestation bundles were made for rhizo-0.1.1.tar.gz:
Publisher:
publish.yml on rhizodata/rhizo
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
rhizo-0.1.1.tar.gz -
Subject digest:
2e417cd902a7b574194a7dcff13a368740d1e33364e8479f33b5f52f9aaa02b1 - Sigstore transparency entry: 835780087
- Sigstore integration time:
-
Permalink:
rhizodata/rhizo@5bb5216fe7c1c4943b67cdcc8960153fadbec77a -
Branch / Tag:
refs/tags/v0.1.7 - Owner: https://github.com/rhizodata
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@5bb5216fe7c1c4943b67cdcc8960153fadbec77a -
Trigger Event:
release
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0c0efac97657c5dd248e3b30274cc57a8d468bb3f484a5c47a07c6f33094d16d
|
|
| MD5 |
ad681fa4e799bbd0e7e143e6f39cb87e
|
|
| BLAKE2b-256 |
3fda4ecad8cf0bcc43ca18a2e6441d2d5b4fcad45de0e5c5615fe44d00dc6d37
|
Provenance
The following attestation bundles were made for rhizo-0.1.1-py3-none-any.whl:
Publisher:
publish.yml on rhizodata/rhizo
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
rhizo-0.1.1-py3-none-any.whl -
Subject digest:
0c0efac97657c5dd248e3b30274cc57a8d468bb3f484a5c47a07c6f33094d16d - Sigstore transparency entry: 835780088
- Sigstore integration time:
-
Permalink:
rhizodata/rhizo@5bb5216fe7c1c4943b67cdcc8960153fadbec77a -
Branch / Tag:
refs/tags/v0.1.7 - Owner: https://github.com/rhizodata
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@5bb5216fe7c1c4943b67cdcc8960153fadbec77a -
Trigger Event:
release
-
Statement type: