ghs-hazard-pictogram 0.1.0

Last updated:

0 purchases

ghs-hazard-pictogram 0.1.0 Image
ghs-hazard-pictogram 0.1.0 Images
Add to Cart

Description:

ghshazardpictogram 0.1.0

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

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.