Skip to main content

A python package to generate Singapore PayNow QR code payloads

Project description

pyPayNowSg

Package Repository Supported Python Versions Test Downloads per week

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!

ko-fi

Project details


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)

Uploaded Source

Built Distribution

pyPayNowSg-0.8.1-py2.py3-none-any.whl (10.1 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page