{"library":"filetype","type":"library","category":null,"description":"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.","language":"python","status":"active","version":"1.2.0","tags":["file","mime","type inference","magic numbers","utility","dependency-free"],"last_verified":"Tue Jun 09","install":[{"cmd":"pip install filetype","imports":["import filetype"]}],"homepage":null,"github":"https://github.com/h2non/filetype.py","docs":null,"changelog":null,"pypi":"https://pypi.org/project/filetype/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":1.5,"avg_import_s":0.02,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/filetype/compatibility"}}