Skip to content

Python library for decoding and verifying the [COWIN Covid19 Credentials for India](https://www.cowin.gov.in/) from [DIVOC](https://divoc.egov.org.in/)

License

Notifications You must be signed in to change notification settings

L3-iGrant/PyDIVOC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyDIVOC

PyPI version Total alerts Language grade: Python

Introduction

Author: George J Padayatti

Python library for decoding and verifying the COWIN Covid19 Credentials for India from DIVOC

Pre requisites

This package have dependency to OpenCV and ZBAR (QR code library)

Installation

Using a virtual environment is generally recommended:

$ python -m venv env
$ source env/bin/activate

Install with pip:

pip install PyDIVOC

Usage

from PyDIVOC.divoc_qr import decode_divoc_covid19_qr
w3c_vc = decode_divoc_covid19_qr("qr.png")

TODO

  • Function to verify JSON-LD signatures embedded in Covid19 Certificate