py-filetype (spack): Small and dependency free Python package to infer file type and MIME type checking the magic numbers signature of a file or buffer. 
Keywords: extension|filetype|inference|magic-numbers|mime|python|type