Skip to content

Latest commit

 

History

History
40 lines (24 loc) · 1.18 KB

README.md

File metadata and controls

40 lines (24 loc) · 1.18 KB

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