ZooPipe
ZooPipe is a lean, ultra-high-performance data processing engine for Python. It leverages a 100% Rust core to handle I/O and orchestration, while keeping the flexibility of Python for schema validation (via Pydantic) and custom data enrichment (via Hooks).
✨ Key Features
- 🚀 100% Native Rust Engine: The core execution loop, including CSV and JSON parsing/writing, is implemented in Rust for maximum throughput.
- 🔍 Declarative Validation: Use Pydantic models to define and validate your data structures naturally.
- 🪝 Python Hooks: Transform and enrich data at any stage using standard Python functions or classes.
- ⚡ Zero-Copy Intent: Minimal overhead between the Rust processing engine and Python validation/hooks.
- 🚨 Automated Error Routing: Native support for routing failed records to a dedicated error output.
- 📊 Multiple Format Support: Optimized readers/writers for CSV, JSONL, and SQL databases (via SQLx with batch inserts).
- 🔧 Pluggable Executors: Choose between single-threaded or multi-threaded execution strategies.
🚀 Quick Start
Installation
uv build
uv run maturin develop --release
Simple Example
from pydantic import BaseModel, ConfigDict
from zoopipe import CSVInputAdapter, CSVOutputAdapter, Pipe
class UserSchema(BaseModel):
model_config = ConfigDict(extra="ignore")
user_id: str
username: str
age: int
pipe = Pipe(
input_adapter=CSVInputAdapter("users.csv"),
output_adapter=CSVOutputAdapter("processed_users.csv"),
error_output_adapter=CSVOutputAdapter("errors.csv"),
schema_model=UserSchema,
)
pipe.start()
pipe.wait()
print(f"Finished! Processed {pipe.report.total_processed} items.")
📚 Documentation
Core Concepts
- Executors Guide - Choose and configure execution strategies
Input/Output Adapters
File Formats
- CSV Adapters - High-performance CSV reading and writing
- JSON Adapters - JSONL and JSON array format support
- Parquet Adapters - Columnar storage for analytics and data lakes
- Arrow Adapters - Apache Arrow IPC format for zero-copy interoperability
Databases
- SQL Adapters - Read from and write to SQL databases with batch optimization
- DuckDB Adapters - Analytical database for OLAP workloads
Advanced
- Python Generator Adapters - In-memory streaming and testing
- Cloud Storage (S3) - Read and write data from Amazon S3 and compatible services
🛠 Architecture
ZooPipe is designed as a thin Python wrapper around a powerful Rust core:
- Python Layer: Configuration, Pydantic models, and custom Hooks.
- Rust Core:
- Adapters: High-speed CSV/JSON/SQL Readers and Writers with optimized batch operations.
- NativePipe: Orchestrates the loop, fetching chunks, calling a consolidated Python batch processor, and routing result batches.
- Executors: Single-threaded or multi-threaded batch processing strategies.
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
Metadata
Release files for zoopipe 2026.1.14
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 |
|---|---|---|---|---|
| zoopipe-2026.1.14.tar.gz | 106.9 kB | With provenance | Details for zoopipe-2026.1.14.tar.gz |
Built distributions (wheels)
Total release size: 130.7 MB
Release files / zoopipe-2026.1.14.tar.gz
| Download URL | zoopipe-2026.1.14.tar.gz |
|---|---|
| Size | 106.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
72bf5e3bbd088b8a473a2b89498977d7a27657ba0fd7f67eda85f77943558252
|
|
BLAKE2b-256 checksum How to use checksums |
de4885bc8951150ca1a80a32b57afbbc25c98fb3b02ddb8a22b3d7d0e19a0f7c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 14, 2026.
Transparency logRelease files / zoopipe-2026.1.14-pp311-pypy311_pp73-manylinux_2_28_x86_64.whl
| Download URL | zoopipe-2026.1.14-pp311-pypy311_pp73-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 24.4 MB |
| Tags | Linux glibc 2.28+ x86-64 PyPy 3.11 PyPy 3.11 7.3 |
|
SHA-256 checksum How to use checksums |
e4555c9573fd1cee01813ebf3a1bd01c1a291256a023b7183e28ed750fbc8c06
|
|
BLAKE2b-256 checksum How to use checksums |
c526773b3a305b76b3b6cb6dd782e6cf5f03d947297b1e87cf53d17ea97aeb35
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 14, 2026.
Transparency logRelease files / zoopipe-2026.1.14-cp310-abi3-win_amd64.whl
| Download URL | zoopipe-2026.1.14-cp310-abi3-win_amd64.whl |
|---|---|
| Size | 17.9 MB |
| Tags | CPython 3.10 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
0e726cccf64ced532e7ae071d780d799c377a45c713ff0bf21677aba1506782f
|
|
BLAKE2b-256 checksum How to use checksums |
30a73527e869b40fdd3a0ee338afebc83f00379dab04d5b88de571c45921e7e4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 14, 2026.
Transparency logRelease files / zoopipe-2026.1.14-cp310-abi3-manylinux_2_28_x86_64.whl
| Download URL | zoopipe-2026.1.14-cp310-abi3-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 24.4 MB |
| Tags | CPython 3.10 Linux glibc 2.28+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
6e1da2e01b7fcc9be6384bce511d0caf377f728db56a56ad647419511d0ded11
|
|
BLAKE2b-256 checksum How to use checksums |
ea51e226837fac4b2e5d4ebfa0b840e5e463c10a6c63cc11b3685825e462dfee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 14, 2026.
Transparency logRelease files / zoopipe-2026.1.14-cp310-abi3-manylinux_2_28_aarch64.whl
| Download URL | zoopipe-2026.1.14-cp310-abi3-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 22.6 MB |
| Tags | CPython 3.10 Linux glibc 2.28+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
91e6d47d7ee9950e71a49d2e4400d6fa112f87d6f34581ffad353c33f336f38a
|
|
BLAKE2b-256 checksum How to use checksums |
8888bc0d77b944c006b40f2b2c52201742fdbfc93ed89210adc8bf443393eb0a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 14, 2026.
Transparency logRelease files / zoopipe-2026.1.14-cp310-abi3-macosx_11_0_arm64.whl
| Download URL | zoopipe-2026.1.14-cp310-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 19.9 MB |
| Tags | CPython 3.10 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
588136bce189e83bd5eddabe6131b0605fb7aad0ac9eb5bc9e47fea1a35a0ea3
|
|
BLAKE2b-256 checksum How to use checksums |
6623869c96801496fb77729b76de68fb369e45d1643bcb64fcbd8f8c53db2668
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 14, 2026.
Transparency logRelease files / zoopipe-2026.1.14-cp310-abi3-macosx_10_12_x86_64.whl
| Download URL | zoopipe-2026.1.14-cp310-abi3-macosx_10_12_x86_64.whl |
|---|---|
| Size | 21.5 MB |
| Tags | CPython 3.10 abi3 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
e94e27f02f046d41485c670a49a7aff62df296f67c6421cd084dc0455fc6aeb3
|
|
BLAKE2b-256 checksum How to use checksums |
3bd481f0b9997330cd3f34f5ee42816e530761c6a20c693542ababaa5dc19ea6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 14, 2026.
Transparency logSecurity for zoopipe 2026.1.14
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.
Full provenance
All 7 files in this release have been uploaded with provenance metadata.
Attestation for zoopipe-2026.1.14.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 14, 2026.
Transparency logA 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.