1python-magic is a Python interface to the libmagic file type identification
2library. libmagic identifies file types by checking their headers according to a
3predefined list of file types. This functionality is exposed to the command line
4by the Unix command file.
5