{"library":"libmagic","type":"library","category":null,"description":"libmagic provides Python bindings to the `libmagic` C library, which identifies file types by checking their 'magic numbers' and other patterns. It's a thin wrapper around the venerable `file` command-line utility. The current version is 1.0, and it generally follows a stable, low-cadence release cycle focusing on maintenance and compatibility with the underlying C library.","language":"python","status":"active","version":"1.0","tags":["file-type","magic-number","bindings","identification","mime-type"],"last_verified":"Tue May 26","install":[{"cmd":"pip install libmagic","imports":["from magic import Magic"]}],"homepage":"http://bitbucket.org/xmonader/pymagic-dev","github":null,"docs":null,"changelog":null,"pypi":"https://pypi.org/project/libmagic/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":2.5,"avg_import_s":null,"wheel_type":"sdist"},"url":"https://checklist.day/v1/registry/libmagic/compatibility"}}