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.9.tar.gz
(37.0 kB
view hashes)
Built Distribution
Close
Hashes for thaiqrpayment-0.0.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57215a697ebe0d54819d321d50e0e8be9d29eece93043b8315ffecb61e88cd2a |
|
MD5 | f80a17e94747698d4d5818af3a9bdd1a |
|
BLAKE2b-256 | 1f37107ab988b96e22490fd8e7cd9d893ce2c479085ed8fb86e57492819eb6cc |