Preparing for system design interviews?  Try bugzed.com →

Puremagic: File Detection

JSON →
library 2.2.0 ·python
verified Jun 28, 2026

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.

total hits 14
actors 4 distinct systems
last hit 10h ago AhrefsBot
GPTBot
4
ByteDance
4
Script
1
Humans
2

top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany · 🇫🇷 France