| Crates.io | microbiorust-py |
| lib.rs | microbiorust-py |
| version | 0.1.1 |
| created_at | 2025-06-27 15:26:04.756037+00 |
| updated_at | 2025-06-27 15:37:12.059722+00 |
| description | Microbiology friendly bioinformatics Rust functions |
| homepage | |
| repository | https://github.com/LCrossman/microBioRust |
| max_upload_size | |
| id | 1728844 |
| size | 47,018 |
Python bindings for microBioRust — a high-performance, modular bioinformatics toolkit written in Rust.
microBioRust is the core Rust Crate
microbiorust-py provides fast and memory-efficient bioinformatics functionality to Python users by leveraging the power of Rust, exposed through PyO3. This package aims to offer an alternative to libraries like Biopython, with a focus on speed, correctness, and extensibility.
Build the PyModule from source using maturin (recommended) - You will need to use the --features flag below:
pip install maturin
maturin develop --features extension-module
You can run
cargo test
which tests if the pyfunctions have been successfully added to the PyModule
Example usage in Python:
import microbiorust
result = microbiorust.gbk_to_faa("test_input.gbk")
for r in result:
print(r)