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.5.tar.gz (9.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

healthcards-0.1.5-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

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

Hashes for healthcards-0.1.5.tar.gz
Algorithm Hash digest
SHA256 09ad2a248a364aa2ca9f3c95062830b1f44fe2e9f52156629412bbf2241e2af2
MD5 16e976a52becec7b21b62e0e9556254e
BLAKE2b-256 9a4347c6220f5e2615657e900ba6e736f19eba3b9ed17859666bb4ce18c6f4e3

See more details on using hashes here.

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

Hashes for healthcards-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 f3771b9d8c468ee2fb0484124ee0fb485206ab878aa076087eda2a040355e091
MD5 bcc94c2c1d28e5589b937eca0413653a
BLAKE2b-256 d046ac431bfa56147841ed34a14649220ccb34d641dee91655ced4717ce64822

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page