QR Code image generator
Project description
QR Code Generator with Logo
This package provides a simple yet powerful tool for generating QR codes with custom logos embedded. You can easily create QR codes for your URLs with added branding using this package.
Features
- Generate QR codes with custom logos embedded.
- Simple command-line interface for easy usage.
Installation
You can install the package using pip:
pip install qrcode-logo-generator
Usage
To generate QR codes with logos, you can use the provided command-line interface. Here's the basic usage:
qrg <logo> <url> <suffix> <count> [-o OUTPUT]
: Path to the logo image file. The image must be in PNG format and have dimensions of 130px by 90px. : Base URL to which the suffix will be added to generate the QR codes. : Suffix to add to the base URL. This suffix will be appended to the base URL for each QR code generated. : Number of QR codes to generate.
Optional Arguments:
-o OUTPUT, --output OUTPUT: Directory where the generated QR codes will be saved. If not specified, the current working directory will be used.
Example
Generate 5 QR codes with logos for a website:
qrcode-logo-generator logo.png https://example.com/page/ item_ 5 -o output_directory
This will generate 5 QR codes with logos for the URLs
- https://example.com/page/item_001,
- https://example.com/page/item_002,
- ...,
- https://example.com/page/item_005 and save them in the specified output_directory.
License
This package is licensed under the MIT License. See the LICENSE file for details.
Acknowledgements
This package utilizes the qrcode and PIL libraries for generating QR codes and handling images, respectively.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file qr_generator-1.0.0.tar.gz
.
File metadata
- Download URL: qr_generator-1.0.0.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 288c24944fa51ea5b3d11aa7ff4b52e53c7fdc3b5d1cb0dd13c57df32f49b0bc |
|
MD5 | d916adc59fb2bc8ab69e678ca833f60a |
|
BLAKE2b-256 | d12930f4fa94809d6e940d485a977a098a3e843c463c8bde32bf086fddc45960 |
File details
Details for the file qr_generator-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: qr_generator-1.0.0-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7377db3b06287e7fd8e9ef5ac8b37cd5ed6afbadee4802bf5c8d94225bedc4e6 |
|
MD5 | 56d61150e746c6f473ce1ccf95e4b9b9 |
|
BLAKE2b-256 | 9945223e47c2adce8841be54cefc856124836f04d57e22007ae7b37ddec060a8 |