python3-puremagic

pure-Python module to identify files by their magic signature
  https://github.com/cdgriffith/puremagic
  0
  no reviews



Puremagic is a pure-Python module to identify files by their magic numbers. It is fast, lightweight, minimalistic, cross-platform, and doesn't have dependencies. It can serve as a stand-in for python-magic, but its own magic_file() and magic_string() function are more powerful and also display a confidence score and possible duplicate matches.