| Crates.io | pacha |
| lib.rs | pacha |
| version | 0.2.3 |
| created_at | 2025-11-30 18:42:52.211857+00 |
| updated_at | 2026-01-12 23:05:15.02396+00 |
| description | Model, Data and Recipe Registry with full lineage tracking |
| homepage | |
| repository | https://github.com/paiml/pacha |
| max_upload_size | |
| id | 1958603 |
| size | 3,949,230 |
Model, Data and Recipe Registry with full lineage tracking.
[dependencies]
pacha = "0.1"
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(())
}
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
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
| Feature | Description |
|---|---|
compression |
Zstd compression (default) |
cli |
Command-line interface (default) |
encryption |
AES-256-GCM encryption |
Contributions welcome! Please follow the PAIML quality standards:
cargo testcargo clippy -- -D warnings && cargo fmt --checkMIT