UPCDB allows you to use the upcdatabase.org API to get UPC details.
To use:
from upcdb import UPCDB
upcdb = UPCDB(‘<API KEY>’)
upc = upcdb.get(‘<UPC’)
print upc.name
print upc.description
print upc.valid
print upc.price
print upc.description
print upc.ratingsup
print upc.ratingsdown
print upc.reason
print upc.todict()
Metadata
Release files for upcdb 1.0
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 |
|---|---|---|---|---|
| upcdb-1.0.tar.gz | 879 Bytes | Without provenance | Details for upcdb-1.0.tar.gz |
Release files / upcdb-1.0.tar.gz
| Download URL | upcdb-1.0.tar.gz |
|---|---|
| Size | 879 Bytes |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cdd2c28ae43dc76278096699646c33c55288ffb8fc7fc512386b199164d5188a
|
|
BLAKE2b-256 checksum How to use checksums |
ae1e7828c000b38b63897f2093fa4c1b607589a5440dc67aad71585179f41a4c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for upcdb 1.0
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.