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

    from healthcards import parser
    jws_str = parser.decode_qr_to_jws("shc:/...")
    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.0.tar.gz (2.1 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.0-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: healthcards-0.1.0.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.7.3

File hashes

Hashes for healthcards-0.1.0.tar.gz
Algorithm Hash digest
SHA256 128fcf91b8559f58b09e437a220985c9754a87f1ab7fd1af59217194546a1e1a
MD5 de47b5c028d0357811ca6bf3cbe8e413
BLAKE2b-256 0b2494fbfa7ba1c9f13bda97649515b2e92749ff8f01e1c5afef2ed54da7a0b5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: healthcards-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.7.3

File hashes

Hashes for healthcards-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1ef75db959955775dc5de3037fad1fd3ec9d1eb64f95d76c02a8fb2bd4dba747
MD5 3fb8e54292b8374544420ca8c328413b
BLAKE2b-256 2439779bcad684af0efe5771af6c2c503cc77bdea30441e44be77380f7528e9d

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