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.3.tar.gz (4.9 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.3-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file healthcards-0.1.3.tar.gz.

File metadata

  • Download URL: healthcards-0.1.3.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.10

File hashes

Hashes for healthcards-0.1.3.tar.gz
Algorithm Hash digest
SHA256 806625104ca76bdb82bb1093f0a21f478e7a2ae645222fe3f87a2adde41f2ebd
MD5 246707d5727a31c013b350b6fee048ac
BLAKE2b-256 e707642edb7e3d1b90cf559e1f15a90f13eaf75e91b85d429543e95beb23a2b8

See more details on using hashes here.

File details

Details for the file healthcards-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: healthcards-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.10

File hashes

Hashes for healthcards-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d5fc2f2c987466d4b5d2b4421d66488267afb54ff090ada435cd417239987315
MD5 78c03206e0947d972e8abae6d7585115
BLAKE2b-256 7be92456e8620f5fc72fb2cbdfcc9dae299bffda38a0f178da427ea624f958c2

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