Skip to main content

Lookup a PRONOM Unique Identifier for a file.

Project description

puid

puid provides a function to get the PRONOM Unique Identifier for a file. It's just a small wrapper around the much more complicated and feature rich fido.

>>> from puid import get_puid
>>> get_puid('file.jpg')
'fmt/42'

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
fmt/42

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for puid, version 0.0.6
Filename, size File type Python version Upload date Hashes
Filename, size puid-0.0.6.tar.gz (2.0 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page