Skip to main content

A package for generating QR codes for various cryptocurrencies

Project description

Crypto QR Codes

Crypto QR Codes is a Python package that allows you to generate QR codes for various cryptocurrencies.


You can install Crypto QR Codes using pip:

pip install crypto-qr-codes


To use Crypto QR Codes, import the create_qr_code function from the crypto_qr_codes.qr module. Here's an example:

from crypto_qr_codes.qr import create_qr_code

crypto_currency = "bitcoin"
crypto_address = "18Qz324MxCwBbrWqNv1Ew3vcgpi9N9DmXM"
amount = 0.1
message = "Payment for goods"

create_qr_code(crypto_currency, crypto_address, amount, message)


The create_qr_code function takes the following parameters:

crypto_currency (required): A string that represents the cryptocurrency.
crypto_address (required): A string that represents the cryptocurrency address.
amount (optional): A float that represents the amount to be paid.
message (optional): A string that represents a message for the payment.
filename (optional): A string that represents the name of the file to save the QR code. Defaults to output.png.


The create_qr_code function returns the full path of the generated QR code image file.


To run the tests for Crypto QR Codes, run the following command:

python -m unittest tests.test_qr


You can check the file for examples of how to use the package. The outputs of the examples are stored in the qr_codes folder.


This project is licensed under the MIT 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

crypto-qr-codes-0.1.8.tar.gz (15.1 kB view hashes)

Uploaded source

Built Distribution

crypto_qr_codes-0.1.8-py3-none-any.whl (15.1 kB view hashes)

Uploaded py3

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