Keyboard shortcuts

Press ← or β†’ to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Installation

As a Rust dependency

Add to your Cargo.toml:

[dependencies]
molex = { git = "https://github.com/petridecus/molex" }

As a Python package

molex provides optional Python bindings via PyO3/maturin.

# Build and install the wheel
cd crates/molex
maturin develop --release --features python

# Verify
python -c "import molex; print('OK')"

Feature flags

FeatureDescription
pythonEnable PyO3 bindings (requires pyo3, numpy)

The default build includes no optional features β€” it’s a pure Rust library with no native dependencies beyond glam and pdbtbx.