Binary package “python3-magic” in ubuntu eoan

python3 interface to the libmagic file type identification library

 python-magic is a Python interface to the libmagic file type
 identification library. libmagic identifies file types by checking
 their headers according to a predefined list of file types. This
 functionality is exposed to the command line by the Unix command file.
 .
 This package provides the Python 3 version of the python-magic module.