GHS hazard descriptions and pictograms.
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ghs_hazard_pictogram-0.1.0.tar.gz
(74.1 kB
view hashes)
Built Distribution
Close
Hashes for ghs_hazard_pictogram-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70ea7150b48556d1455c7cc9ba7b7fdc6ce75af60bf548270babdef6e17a7b19 |
|
MD5 | bf8eb03288e18134e6f188a901621596 |
|
BLAKE2b-256 | e59609deff92db8433caf15f3e936fdedd16daec8e4c11e47e312aa6d3636279 |
Close
Hashes for ghs_hazard_pictogram-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a3bd07b0d8f9e912bf3907a6ede4d793f860a71ac1f0147ea5192fe7827c936 |
|
MD5 | b763ac4effe817614abd322768593f4b |
|
BLAKE2b-256 | 4e4c744bb23d0ddc39a89040c16084e27eee670a6d447850c06f7d56d79f9469 |