gpcc
Python library and CLI tool to fetch information from GCP Browser.
This is a standardized classifier of products used across companies. The classification, however, cannot be inferred from the product barcode or even packaging. Companies use it only internally.
Installation
python3 -m pip install gpcc
CLI usage
# download latest JSONs for all languages
python3 -m gpcc
# download latest JSON for a specified language
python3 -m gpcc --lang nl
# download into a specified directory
python3 -m gpcc --output ./gpc-dump/
# download files in XML format
python3 -m gpcc --format xml
# download files in XLSX format
python3 -m gpcc --format xlsx
Python usage
import asyncio
import gpcc
from pathlib import Path
async def run():
langs = await gpcc.get_languages()
output = Path('gpc-dump')
# Default format is JSON
await gpcc.fetch_files(output, langs)
# Download files in XML format
# await gpcc.fetch_files(output, langs, format='xml')
# Download files in XLSX format
# await gpcc.fetch_files(output, langs, format='xlsx')
asyncio.run(run())
Metadata
Release files for gpcc 1.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 |
|---|---|---|---|---|
| gpcc-1.1.0.tar.gz | 5.4 kB | Without provenance | Details for gpcc-1.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gpcc-1.1.0-py3-none-any.whl | Python 3 | none | any | Details for gpcc-1.1.0-py3-none-any.whl |
Total release size: 12.0 kB
Release files / gpcc-1.1.0.tar.gz
| Download URL | gpcc-1.1.0.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8f656e7939c26f700af601472f3150c9188b25ce33108db83ef8ec3d3e0b1f79
|
|
BLAKE2b-256 checksum How to use checksums |
d9f0d57cd3e1bd26fa55d6cc55a353be1c0ff95cee4e628e506b3174411bff72
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.29.0
|
Release files / gpcc-1.1.0-py3-none-any.whl
| Download URL | gpcc-1.1.0-py3-none-any.whl |
|---|---|
| Size | 6.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8ff7c8268d156c0702571041eb4a187b157c5cf54b400dc4fe12d8edea04341d
|
|
BLAKE2b-256 checksum How to use checksums |
126e847455cb43c0f170fcc970cde610b1c17c6549340f8c5438cfa0204c21c2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.29.0
|
Security for gpcc 1.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.