Skip to content

kittinan/thai-qr-payment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Thai QR Payment example

About

Thai QR Payment QR Code Generator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages