GHS Hazard pictograms
Based on GHS_hazard_pictograms Wikipedia article
Install
pip install ghs_hazard_pictogram
Usage
>>>from ghs_hazard_pictogram import Hazard
>>>Hazard.all() # List all hazards
>>>Hazard(code='class8') # Return hazard with code 'class8'
>>>Hazard.search('division') # Return hazard with attribute containing 'division' case insesitive
>>>Hazard(code='class8').get_pictogram() # returns full path to the svg file
Licence
This code is licenced under MIT, and the content is licenced under Creative Commons.
Bug or request
Please create an issue on Github
Metadata
Release files for ghs-hazard-pictogram 0.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 |
|---|---|---|---|---|
| ghs_hazard_pictogram-0.1.0.tar.gz | 74.1 kB | Without provenance | Details for ghs_hazard_pictogram-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ghs_hazard_pictogram-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for ghs_hazard_pictogram-0.1.0-py3-none-any.whl |
Total release size: 179.0 kB
Release files / ghs_hazard_pictogram-0.1.0.tar.gz
| Download URL | ghs_hazard_pictogram-0.1.0.tar.gz |
|---|---|
| Size | 74.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
70ea7150b48556d1455c7cc9ba7b7fdc6ce75af60bf548270babdef6e17a7b19
|
|
BLAKE2b-256 checksum How to use checksums |
e59609deff92db8433caf15f3e936fdedd16daec8e4c11e47e312aa6d3636279
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.4
|
Release files / ghs_hazard_pictogram-0.1.0-py3-none-any.whl
| Download URL | ghs_hazard_pictogram-0.1.0-py3-none-any.whl |
|---|---|
| Size | 104.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3a3bd07b0d8f9e912bf3907a6ede4d793f860a71ac1f0147ea5192fe7827c936
|
|
BLAKE2b-256 checksum How to use checksums |
4e4c744bb23d0ddc39a89040c16084e27eee670a6d447850c06f7d56d79f9469
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.4
|
Security for ghs-hazard-pictogram 0.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.