Comparison
pure-magic-rs vs python-magic
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Python bindings for pure-magic crate, a pure Rust re-implementation of libmagic
Actively maintained. Last release 13 days ago, commits in 11 of the last 26 weeks. A safe choice.
$
pip install pure-magic-rs