Skip to main content

Install

OpenWRaw ships as a Rust crate, a CLI, and a Python wheel.

Rust

Add the crate to your Cargo.toml:

[dependencies]
openwraw = "0.1"

Or from the command line:

cargo add openwraw

Build the CLI and all crates from a checkout:

git clone https://github.com/Sigilweaver/OpenWRaw
cd OpenWRaw
cargo build --workspace --release
cargo test --workspace

Requires Rust 1.75 or newer.

Python

Install the wheel from PyPI:

pip install openwraw

From source (requires a Rust toolchain and maturin):

git clone https://github.com/Sigilweaver/OpenWRaw
cd OpenWRaw/crates/openwraw-py
maturin develop --release

Verifying the install

Rust:

cargo test --workspace

Python:

import openwraw
print(openwraw.__version__)

CLI:

openwraw inspect path/to/sample.raw