python-magic

JSON →
library 0.4.27 ·python
verified Jun 9, 2026 install stale

python-magic is a Python interface to the `libmagic` file type identification library. `libmagic` identifies file types by checking their headers according to a predefined list of file types. This functionality is exposed to the command line by the Unix `file` command. The current version is 0.4.27, with releases occurring infrequently, often with several months or years between updates.

total hits 29
actors 7 distinct systems
last hit 22h ago ChatGPT-User
OAI-SearchBot
8
MetaBot
4
ChatGPT-User
3
Script
2
Search engines
1
Humans
6

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany · LT · PH