Puremagic: File Detection
JSON →Puremagic is a pure Python module designed to identify file types based on their 'magic numbers' and content-aware analysis. It offers a lightweight, cross-platform alternative to `python-magic`/`libmagic` with zero runtime dependencies. The library is actively maintained, with its current version being 2.2.0, and receives regular updates to enhance detection capabilities and fix issues.
Traffic · last 30 days ↑100% vs prev 7d
total hits 14
actors 4 distinct systems
last hit 10h ago AhrefsBot
top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany · 🇫🇷 France
API endpoints
full doc /v1/registry/puremagic
install /v1/registry/puremagic/install
compatibility /v1/registry/puremagic/compatibility