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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file healthcards-0.1.6.tar.gz.
File metadata
- Download URL: healthcards-0.1.6.tar.gz
- Upload date:
- Size: 9.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f55b4546f04e893bd4925efca89aa1c52c8d1b8313690a663c62fa9a818df777
|
|
| MD5 |
5ecb599b59258cf29ce5763339007b4f
|
|
| BLAKE2b-256 |
97b4b5fa96c79a6a32f52637b3976fc2a86d972bc6f7c0051201daf4c5c00573
|
File details
Details for the file healthcards-0.1.6-py3-none-any.whl.
File metadata
- Download URL: healthcards-0.1.6-py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a645081993151ffe49df07e0e945fe5ed1b8735a856c65adf7551900057c44c2
|
|
| MD5 |
1441e2a5837d32411f416903db68c94b
|
|
| BLAKE2b-256 |
05542a4ba3ffa7b013aae11c545255e7d9d2964c6a5b0f3340c6f0999f7fbd34
|