Thai QR Payment Generator
Project description
thai-qr-payment
Generate QR Code image in the format of Thai QR Payment
Installation
available on pip https://pypi.org/project/thaiqrpayment/
pip install thaiqrpayment
Usage
import thaiqrpayment
# Your code from Bank
code = "01" * 100
# Save to image file
thaiqrpayment.save(code, "/tmp/qr.png")
# base64 format
base64_str = thaiqrpayment.to_base64(code)
# PIL image
pil_image = thaiqrpayment.generate(code)
Example Image
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
thaiqrpayment-0.1.0.tar.gz
(37.0 kB
view hashes)
Built Distribution
Close
Hashes for thaiqrpayment-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d36267baaf11235d6307213a4719c66580ef841632a4cc4610912ece16a69b1e |
|
MD5 | 0ca629a60c6e3d54b9ec1486857dafc1 |
|
BLAKE2b-256 | ac4e10d634dbe4c9cc9aa9f0c8241d37c4ba553ac02066317eaeea545d5f03f3 |