#lineage #reproducibility #registry #ml

bin+lib pacha

Model, Data and Recipe Registry with full lineage tracking

9 releases

new 0.2.5 Feb 15, 2026
0.2.4 Jan 30, 2026
0.2.0 Dec 17, 2025
0.1.2 Dec 8, 2025
0.1.0 Nov 30, 2025

#686 in Database interfaces

Download history 164/week @ 2025-11-30 239/week @ 2025-12-07 12/week @ 2025-12-14 8/week @ 2025-12-21 20/week @ 2025-12-28 31/week @ 2026-01-04 99/week @ 2026-01-11 77/week @ 2026-01-18 161/week @ 2026-01-25 392/week @ 2026-02-01

729 downloads per month
Used in 9 crates (4 directly)

MIT license

1.5MB
14K SLoC

Contains (WOFF font, 99KB) fontawesome-webfont.woff, (WOFF font, 78KB) fontawesome-webfont.woff2, (WOFF font, 45KB) open-sans-v17-all-charsets-300.woff2, (WOFF font, 41KB) open-sans-v17-all-charsets-300italic.woff2, (WOFF font, 45KB) open-sans-v17-all-charsets-600.woff2, (WOFF font, 43KB) open-sans-v17-all-charsets-600italic.woff2 and 7 more.

pacha

pacha

Model, Data and Recipe Registry with full lineage tracking.

Crates.io Documentation License


Installation

[dependencies]
pacha = "0.1"

Usage

use pacha::prelude::*;

fn main() -> Result<()> {
    let registry = Registry::open(RegistryConfig::default())?;

    // Register a model with documentation
    let card = ModelCard::builder()
        .description("Fraud detection model")
        .metrics([("auc", 0.95), ("f1", 0.88)])
        .build();

    registry.register_model(
        "fraud-detector",
        &ModelVersion::new(1, 0, 0),
        &model_bytes,
        card,
    )?;

    Ok(())
}

Examples

cargo run --example quick_start
cargo run --example model_versioning
cargo run --example experiment_tracking
cargo run --example lineage_tracking
cargo run --example content_addressing

CLI

pacha init
pacha model register fraud-detector model.apr -v 1.0.0
pacha model list
pacha model stage fraud-detector -v 1.0.0 -t production
pacha stats

Features

Feature Description
compression Zstd compression (default)
cli Command-line interface (default)
encryption AES-256-GCM encryption

Contributing

Contributions welcome! Please follow the PAIML quality standards:

  1. Fork the repository
  2. Create a feature branch
  3. Ensure all tests pass: cargo test
  4. Run quality checks: cargo clippy -- -D warnings && cargo fmt --check
  5. Submit a pull request

License

MIT

Dependencies

~26–52MB
~871K SLoC