Binary package “python3-puremagic” in ubuntu noble

pure-Python module to identify files by their magic signature

 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.