python-magic (pypi): File type identification using libmagic
Keywords: mime|magic|file