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.5.tar.gz
(9.5 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.5.tar.gz.
File metadata
- Download URL: healthcards-0.1.5.tar.gz
- Upload date:
- Size: 9.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
09ad2a248a364aa2ca9f3c95062830b1f44fe2e9f52156629412bbf2241e2af2
|
|
| MD5 |
16e976a52becec7b21b62e0e9556254e
|
|
| BLAKE2b-256 |
9a4347c6220f5e2615657e900ba6e736f19eba3b9ed17859666bb4ce18c6f4e3
|
File details
Details for the file healthcards-0.1.5-py3-none-any.whl.
File metadata
- Download URL: healthcards-0.1.5-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f3771b9d8c468ee2fb0484124ee0fb485206ab878aa076087eda2a040355e091
|
|
| MD5 |
bcc94c2c1d28e5589b937eca0413653a
|
|
| BLAKE2b-256 |
d046ac431bfa56147841ed34a14649220ccb34d641dee91655ced4717ce64822
|