openxmllib adds all known MIME types for Open XML documents to the standard mimetypes module.
>>> import mimetypes
>>> mimetypes.guess_type('some-doc.docx')
(None, None)
>>> import openxmllib
>>> mimetypes.guess_type('some-doc.docx')
('application/vnd.openxmlformats-officedocument.wordprocessingml.document', None)