In Python there are two libraries that can be found on Pypi 'python-magic' and 'filemagic':
As can be seen from the documents, to import either one, the import statement is simply:
import magic
So how would you import both of these libraries in a project?