Skip to main content

Python parser for https://spec.smarthealth.cards

Project description

py-health-cards

A python library for decoding the SMART health card standard, used for documenting COVID-19 vaccination history or test results as a QR code as a JWT in a verifiable manner, and is being issued by several localities (e.g. California, Quebec).

Example

record = "shc:/..."
from healthcards import parser
jws_str = parser.decode_qr_to_jws(record)
jws = parser.JWS(jws_str)
jws.verified
jws.as_dict()

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

healthcards-0.1.6.tar.gz (9.4 kB view hashes)

Uploaded Source

Built Distribution

healthcards-0.1.6-py3-none-any.whl (6.0 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