Metadata-Version: 2.1
Name: thaiqrpayment
Version: 0.0.8
Summary: Thai QR Payment Generator
Home-page: https://github.com/kittinan/thai-qr-payment
Author: Kittinan Srithaworn
License: MIT
Project-URL: Bug Reports, https://github.com/kittinan/thai-qr-payment/issues
Project-URL: Source, https://github.com/kittinan/thai-qr-payment
Description: # thai-qr-payment
        Generate QR Code image in the format of `Thai QR Payment`
        
        - [KBANK](https://apiportal.kasikornbank.com/product/public/LandingPage/QR%20Payment/Introduction/3)
        
        
        ## Installation
        
        available on pip https://pypi.org/project/thaiqrpayment/
        
        ```bash
        pip install thaiqrpayment
        ```
        
        ## Usage
        
        ```python
        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](./assets/example.png)
Keywords: Thai QR Payment Generator
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
