Filetype Inference Library

JSON →
library 1.2.0 ·python
verified Jun 9, 2026 install

Small and dependency-free Python package to infer file type and MIME type by checking the magic numbers signature of a file or buffer. It is a Python port from the 'filetype' Go package, offering a simple and friendly API for a wide range of file types. Currently at version 1.2.0, it is actively maintained with periodic updates.

total hits 19
actors 6 distinct systems
last hit 1d ago GPTBot
GPTBot
4
MetaBot
4
Script
2
ClaudeBot
2
Search engines
1
Humans
2

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany · 🇹🇷 Turkey