Skip to main content

QR codes for bank transfers with banking applications

Project description

Bank-Transfer-QRCode

Generate QR codes for bank transfers.

PyPi version Supported Python versions

This package generates QR codes to be used with banking application. Provide information about the receiver, generate a QR code and scan it with a banking application.

Implementation is based on this recommendation and may not follow strict laws or other binding regulations.

QR Code Example

Installation

OS X & Linux, Windows:

python -m pip install bank-transfer-qrcode

Usage example

Import the QR module from the package

from bank_transfer_qrcode import QR

Provide information about the recipient and create an instance of QR

qr = QR(
    country_code='PL',
    iban='PL01234567890123456789012345',
    amount='000123',
    recipient_name='Bob Smith',
    transfer_title='Payment title'
)

Save the QR

# Save as svg
qr.save('svg_filename', 'svg')
# Save as png
qr.save('png_filename', 'png')

...or get an io.BytesIO object and do something with it

qr.get()

For mor information check the QR class or method docstrings or use

QR.info()

Release History

  • 0.1.0
    • The first release

Meta

Karol Podgórski, karolsoon.dev@gmail.com

Distributed under the BSD license. See LICENSE for more information.

https://github.com/Karolsoon/Bank-Transfer-QR/blob/main/LICENSE

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

bank_transfer_qrcode-0.1.0.tar.gz (11.8 kB view hashes)

Uploaded Source

Built Distribution

bank_transfer_qrcode-0.1.0-py3-none-any.whl (10.0 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