cherry
Cherry is a python library for building blockchain data pipelines.
It is designed to make building production-ready blockchain data pipelines easy.
Getting Started
See getting started section of the docs.
Features
- Pure
pythonlibrary. Don't need yaml, SQL, toml etc. - High-level
datasetsAPI and flexible pipeline API. High-performance,low-costanduniformdata access. Ability to use advanced providers without platform lock-in.- Included functionality to
decode,validate,transformblockchain data. All implemented inrustfor performance. - Write transformations using
polars,pyarrow,datafusion,pandas,duckdbor any otherpyarrowcompatible library. Schema inferenceautomatically creates output tables.- Keep datasets fresh with
continuous ingestion. Parallelized, next batch of data is being fetched while your pre-processing function is running, while the database writes are being executed in parallel. Don't need to hand optimize anything.- Included library of transformations.
- Included functionality to implement
crash-resistance.
Data providers
| Provider | Ethereum (EVM) | Solana (SVM) |
|---|---|---|
| HyperSync | ✅ | ❌ |
| SQD | ✅ | ✅ |
Supported output formats
- ClickHouse
- Iceberg
- Deltalake
- DuckDB
- Arrow Datasets
- Parquet
Usage examples
Logging
Python code uses the standard logging module of python, so it can be configured according to python docs.
Set RUST_LOG environment variable according to env_logger docs in order to see logs from rust modules.
To run an example with trace level logging for rust modules:
RUST_LOG=trace uv run examples/path/to/my/example
Development
This repo uses uv for development.
- Format the code with
uv run ruff format - Lint the code with
uv run ruff check - Run type checks with
uv run pyright - Run the tests with
uv run pytest
Core libraries we use for ingesting/decoding/validating/transforming blockchain data are implemented in cherry-core repo.
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Sponsors
Metadata
Release files for cherry-etl 0.9.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cherry_etl-0.9.0.tar.gz | 20.7 kB | Without provenance | Details for cherry_etl-0.9.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cherry_etl-0.9.0-py3-none-any.whl | Python 3 | none | any | Details for cherry_etl-0.9.0-py3-none-any.whl |
Total release size: 45.3 kB
Release files / cherry_etl-0.9.0.tar.gz
| Download URL | cherry_etl-0.9.0.tar.gz |
|---|---|
| Size | 20.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fa8edd0983d6547418dfcc91b9b15e3c6e4a951360624133e1f85556e6617228
|
|
BLAKE2b-256 checksum How to use checksums |
7103e920aa5d851abb47522f74aa32bb32f4274916a5683fc6cb3525f83fe836
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.9.5
|
Release files / cherry_etl-0.9.0-py3-none-any.whl
| Download URL | cherry_etl-0.9.0-py3-none-any.whl |
|---|---|
| Size | 24.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
71ed4d2855a5c99a84e82eb1959cee3b1ba27a41835062179953dbace44bfeae
|
|
BLAKE2b-256 checksum How to use checksums |
854d4e790fa40c7a72c94048f70ec6ee1911bf74bf421729d88c744ec9d08b5c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.9.5
|
Security for cherry-etl 0.9.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.