Lookup a PRONOM Unique Identifier for a file.
>>> from puid import get_puid
puid was created largely for instructional purposes to help students identify files in their own Python programs. You will want to use fido directly if you need to identify files in containers like zip files, or do anything other than to get a single PUID for a file.
When you install puid you also get a new command line utility:
$ puid file.jpg
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.