Comparison
magika vs mineru-magika vs pure-magic-rs
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A tool to determine the content type of a file with deep learning
Actively maintained. Last release 2 weeks ago, commits in 16 of the last 26 weeks. A safe choice.
$
pip install magika