Filetype Inference Library
JSON →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.
Traffic · last 30 days ↓57% vs prev 7d
total hits 15
actors 3 distinct systems
last hit 5d ago human
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇸🇬 Singapore
API endpoints
full doc /v1/registry/filetype
install /v1/registry/filetype/install
compatibility /v1/registry/filetype/compatibility