Skip to main content

PromptPay QR code in Python

Project description

pypromptpay

Build Status

QR Code PromptPay in Python 3.

Install

pip install pypromptpay

Using

from pypromptpay import qr_code
qr_code(account,one_time=True,path_qr_code="",country="TH",money="",currency="THB")
  • account is phone number or identification number.
  • one_time : if you use once than it's True.
  • path_qr_code : path save file qr code image.
  • country : TH
  • money : money (if have)
  • currency : THB

return True (if have path_qr_code) or text (if haven't path_qr_code)

License

Apache Software License 2.0

Develop

Wannaphong Phatthiyaphaibun (wannaphong@kkumail.com)

Reference

แนวนโยบายการใช้มาตรฐาน Thai QR Code ในธุรกรรมการชำระเงิน

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

pypromptpay-0.5.3.tar.gz (3.4 kB view hashes)

Uploaded Source

Built Distribution

pypromptpay-0.5.3-py3-none-any.whl (14.5 kB view hashes)

Uploaded 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