Skip to main content

GHS hazard descriptions and pictograms.

Project description

GHS Hazard pictograms

Based on GHS_hazard_pictograms Wikipedia article


pip install ghs_hazard_pictogram


>>>from ghs_hazard_pictogram import Hazard
>>>Hazard.all() # List all hazards
>>>Hazard(code='class8') # Return hazard with code 'class8'
>>>'division') # Return hazard with attribute containing 'division' case insesitive
>>>Hazard(code='class8').get_pictogram() # returns full path to the svg file


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

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)

Uploaded Source

Built Distribution

ghs_hazard_pictogram-0.1.0-py3-none-any.whl (104.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page