Human readable MIME type descriptions based on shared-mime-info.
pip install mimetype-description
from mimetype_description import guess_mime_type, get_mime_type_description
mime_type = guess_mime_type('file.txt')
description = get_mime_type_description(mime_type)
print(description) # plain text document
pytest