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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file pypromptpay-0.5.3.tar.gz.

File metadata

  • Download URL: pypromptpay-0.5.3.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.0

File hashes

Hashes for pypromptpay-0.5.3.tar.gz
Algorithm Hash digest
SHA256 c4944e0972d41884886c58fbfae69a8fe88e05639bb34b893575d4a7fea248cd
MD5 070a2c0d6e8bde1fb68ab0c527e743c4
BLAKE2b-256 fb49feacade3a40c57820f361edb6fd806b1ae020a1192dff43c2650de03c503

See more details on using hashes here.

File details

Details for the file pypromptpay-0.5.3-py3-none-any.whl.

File metadata

  • Download URL: pypromptpay-0.5.3-py3-none-any.whl
  • Upload date:
  • Size: 14.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.0

File hashes

Hashes for pypromptpay-0.5.3-py3-none-any.whl
Algorithm Hash digest
SHA256 bbad70836633e86c46215d53422d8196e615f281809c3860f5f9e8566c5ccde4
MD5 029eaedab6c3b3e2e0a76d54ec3a0f09
BLAKE2b-256 51a11c14952aa7890d54fe37637c21152d1ec2ff29e260e441b013bab6dd9e07

See more details on using hashes here.

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