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.0.8.tar.gz
(36.9 kB
view hashes)
Built Distribution
Close
Hashes for thaiqrpayment-0.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3160cfdf3396cda30129afef5af54f7e9bcbc5fc444a8f9714bdb142a488178a |
|
MD5 | 6033c7c31222ca004d0c6e4d70c03de6 |
|
BLAKE2b-256 | d30c1f5e1bade4c9b01b8c7d4ba43b24ccf140eb1087983ace731adf0e706ddb |