Skip to main content

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


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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file ghs_hazard_pictogram-0.1.0.tar.gz.

File metadata

  • Download URL: ghs_hazard_pictogram-0.1.0.tar.gz
  • Upload date:
  • Size: 74.1 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for ghs_hazard_pictogram-0.1.0.tar.gz
Algorithm Hash digest
SHA256 70ea7150b48556d1455c7cc9ba7b7fdc6ce75af60bf548270babdef6e17a7b19
MD5 bf8eb03288e18134e6f188a901621596
BLAKE2b-256 e59609deff92db8433caf15f3e936fdedd16daec8e4c11e47e312aa6d3636279

See more details on using hashes here.

File details

Details for the file ghs_hazard_pictogram-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: ghs_hazard_pictogram-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 104.8 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for ghs_hazard_pictogram-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3a3bd07b0d8f9e912bf3907a6ede4d793f860a71ac1f0147ea5192fe7827c936
MD5 b763ac4effe817614abd322768593f4b
BLAKE2b-256 4e4c744bb23d0ddc39a89040c16084e27eee670a6d447850c06f7d56d79f9469

See more details on using hashes here.

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