A python package to generate Singapore PayNow QR code payloads
Project description
pyPayNowSg
Generate PayNow Singapore QR codes in Python
Summary
What it says on the tin. This is mainly for frameworks/backends which rely on generation of a PayNow QR code without the use of NodeJS/JavaScript, such as sending e-mails or generating PDF files.
Documentation
This library only generates the ASCII code to be embedded in a QR
code image generator. However, there is sample code to generate the QR code
image using Pillow. See tests/test_payload.py
for an example.
TODO
- Raise Exceptions when user-specified texts/parameters exceed character limits as per the EMVCO specifications
- Enforce QR code version (version 11?) to fix output image size
References
Social
Like my work? Buy me a coffee!
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyPayNowSg-0.8.1.tar.gz.
File metadata
- Download URL: pyPayNowSg-0.8.1.tar.gz
- Upload date:
- Size: 12.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9c81862d32645744749d53f4642ab3c93a7697f65b8da26e40770be26a42a46b
|
|
| MD5 |
fc07e9f60437e9710a65f8acd79e9164
|
|
| BLAKE2b-256 |
6ea52ffd245e87ef57cf84ace4b458fb793c34ee2ff966466aa8b57386e8fd6c
|
File details
Details for the file pyPayNowSg-0.8.1-py2.py3-none-any.whl.
File metadata
- Download URL: pyPayNowSg-0.8.1-py2.py3-none-any.whl
- Upload date:
- Size: 10.1 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9e7965b5e6e1797d12b752ec1af98104cef1d7a97100f3dda7106338f5a48493
|
|
| MD5 |
6810df01aca123ed638eef7a993d852a
|
|
| BLAKE2b-256 |
9b62f474ba97a9366e9ecb388cd52b2552e2909f46e4cc3627600c7fe776cb10
|