How-To Guides¶
Goal-oriented recipes for common tasks. Each guide answers a specific “how do I…” question.
Install zodb-json-codec
Install from PyPI with pre-built wheels, or with uv. Verify the installation works.
Integrate with zodb-pgjsonb
Use the codec as the transcoding layer for PostgreSQL JSONB storage. Understand the fast paths and the data pipeline.
Handle custom and unknown types
Learn how the codec handles types it does not recognize,
and what the @reduce and @pkl markers mean.
Run benchmarks
Run synthetic and real-world benchmarks. Build with PGO for production-accurate numbers.
Build from source
Set up a development environment with Rust, maturin, and Python. Run the Rust and Python test suites.