Extra Credit

filetype

Infer file type and MIME type of any file/buffer. No external dependencies.

$pip install filetype

Official docs outline

Extra Credit builds an outline of filetype's docs the first time your work uses it. Until then, start at the official documentation.

All 9,553