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
Metadata
Release files for puid 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| puid-0.0.6.tar.gz | 2.0 kB | Without provenance | Details for puid-0.0.6.tar.gz |
Release files / puid-0.0.6.tar.gz
| Download URL | puid-0.0.6.tar.gz |
|---|---|
| Size | 2.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fc545e356b6c42ce3e3554fea8d553f1a8504e45748f02e21b76360fcc4724a3
|
|
BLAKE2b-256 checksum How to use checksums |
8c669485da6138c5c6fb9fc361aa3ab710604af9471972c56ed3e821cb785c5a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.2
|
Security for puid 0.0.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.