Scriptable green pass verifier
Project description
Green Pass Verifier
Scriptable green pass verifier. With this application you can automatize accesses based on green pass validity.
Installation
You need to have pip and libzbar to install the application.
You can install it using your favorite package manager, for instance in Ubuntu:
$ sudo apt install python3-pip libzbar0
If you want to install it from sources, install the python3 requirements using the following command:
$ pip3 install -r requirements.txt
Usage
You can feed the application with different file formats, for instance:
Green pass official PDFs
$ greenpass --pdf greenpass.pdf
QRCode images in PNG
$ greenpass --qr greenpass.png
Txt files with the content of the qrcode
$ greenpass --txt greenpass.txt
Standard input and pipes
$ zbarimg --raw greenpass.png | greenpass --txt -
The application returns an UNIX compatible code, therefore you can concatenate commands that will be executed only if the green pass is verified
$ greenpass --qr greenpass.png && echo "green pass ok"
You can also get the expiration configuration using --settings
without
other inputs.
$ greenpass --settings
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file greenpass-0.4.tar.gz
.
File metadata
- Download URL: greenpass-0.4.tar.gz
- Upload date:
- Size: 6.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.4.2 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34bb853a5b7987a1f7539e1a1c9ab71a22fb4273eb10d97d1545eac3e255759c |
|
MD5 | 95882f167e29b8be9dd841339c182a6d |
|
BLAKE2b-256 | 88f50d727db2ff40cfc13989bcc4e021b8192f58abea4f51e9b079231db965ff |
File details
Details for the file greenpass-0.4-py3-none-any.whl
.
File metadata
- Download URL: greenpass-0.4-py3-none-any.whl
- Upload date:
- Size: 19.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.4.2 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0cd055d3e85324dd15b52e9de5edaa4c276cf70c695b4b9999c8f2a02a45b4ed |
|
MD5 | 6945fa0a4e705b80b789ecb6a5e5e2ae |
|
BLAKE2b-256 | 674fba2f29046e8ec6b320e56d003fdaf9844350166dc18d29d3e4913a64c456 |