Skip to main content

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

Metadata

Release files for thaiqrpayment 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for thaiqrpayment 0.1.0
File Size Uploaded Provenance Actions
thaiqrpayment-0.1.0.tar.gz 37.0 kB Without provenance Details for thaiqrpayment-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for thaiqrpayment 0.1.0
File Interpreter ABI Platform Actions
thaiqrpayment-0.1.0-py3-none-any.whl Python 3 none any Details for thaiqrpayment-0.1.0-py3-none-any.whl

Total release size: 74.9 kB

Release files / thaiqrpayment-0.1.0.tar.gz

Download URL thaiqrpayment-0.1.0.tar.gz
Size 37.0 kB
Tags Source
SHA-256 checksum
How to use checksums
5719a5db78854c95de1cd38f9d206e6ef176a5e686ff2902c7cae6c612355d2f
BLAKE2b-256 checksum
How to use checksums
f6c66964e3cfa495b484a5be1c6f23012c65e587d9f636216b074406e9f3202b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.6.9

Release files / thaiqrpayment-0.1.0-py3-none-any.whl

Download URL thaiqrpayment-0.1.0-py3-none-any.whl
Size 37.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d36267baaf11235d6307213a4719c66580ef841632a4cc4610912ece16a69b1e
BLAKE2b-256 checksum
How to use checksums
ac4e10d634dbe4c9cc9aa9f0c8241d37c4ba553ac02066317eaeea545d5f03f3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.6.9

Security for thaiqrpayment 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page