This module uses ctypes to access the libmagic file type identification library. It makes use of the local magic database and supports both textual and MIME-type output. Note: To install python3 bindings pass PYTHON3=yes to the slackbuild. # PYTHON3=yes ./python-magic.SlackBuild