Infer file type and MIME type of any file/buffer. No external dependencies.
No known vulnerabilities in the latest version
Based on latest version 1.2.0. If you're running an older version, check OSV for your specific version.
[](/packages/filetype)
<a href="/packages/filetype"><img src="/api/badges/filetype?period=month" alt="PyPI Stats"></a>