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
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
healthcards-0.1.6.tar.gz
(9.4 kB
view hashes)
Built Distribution
Close
Hashes for healthcards-0.1.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a645081993151ffe49df07e0e945fe5ed1b8735a856c65adf7551900057c44c2 |
|
MD5 | 1441e2a5837d32411f416903db68c94b |
|
BLAKE2b-256 | 05542a4ba3ffa7b013aae11c545255e7d9d2964c6a5b0f3340c6f0999f7fbd34 |