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
pyPayNowSg-0.8.1.tar.gz
(12.7 kB
view hashes)
Built Distribution
Close
Hashes for pyPayNowSg-0.8.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e7965b5e6e1797d12b752ec1af98104cef1d7a97100f3dda7106338f5a48493 |
|
MD5 | 6810df01aca123ed638eef7a993d852a |
|
BLAKE2b-256 | 9b62f474ba97a9366e9ecb388cd52b2552e2909f46e4cc3627600c7fe776cb10 |