A modern Python library for QR code generation and decoding with powerful customization.
Project description
BenzoQR
A modern Python library for QR code generation and decoding with powerful customization.
Features
- Generate QR codes with one line of code
- Read QR codes from images (PNG, JPG, WEBP, etc.)
- Highly customizable: colors, gradients, module shapes, eye shapes, logos, borders
- Multi-format export: PNG, SVG, PDF, JPG, WEBP
- Fluent API for easy chaining
- Batch generation
Installation
pip install benzoqr
Quick Start
from benzoqr import QR
# Simple generation
QR.create("https://example.com", output="website.png")
# Fluent API with custom styles
(QR("https://example.com")
.style("rounded")
.eye_style("modern")
.gradient("#FF5722", "#FF9800")
.logo("logo.png")
.save("custom.png"))
# Reading a QR code
data = QR.read("custom.png")
print(data)
Presets
BenzoQR includes built-in presets like modern, minimal, business, luxury, neon, and more!
QR.create("https://example.com", preset="luxury", output="luxury.png")
Documentation
For full documentation, please visit our docs directory.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file benzoqr-1.0.0.tar.gz.
File metadata
- Download URL: benzoqr-1.0.0.tar.gz
- Upload date:
- Size: 50.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
043d023dc32baf68db65d7011b4d57add394b194f0282c3bbd9225cde6116d84
|
|
| MD5 |
840d308c2764a339949452e9e337f823
|
|
| BLAKE2b-256 |
244a6090417efd556ddc4da858dbbbd650a6e23aa537ef20449bb8744457fed5
|
File details
Details for the file benzoqr-1.0.0-py3-none-any.whl.
File metadata
- Download URL: benzoqr-1.0.0-py3-none-any.whl
- Upload date:
- Size: 44.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8e25c20843cad191e494d2219bc7091dd78b5382005261c1fa67fcbedf1fa43b
|
|
| MD5 |
d548edb65405e0351b56f9e08bd4b31f
|
|
| BLAKE2b-256 |
ae754a61b7318398008e6fb0cfa1394292cca2e29edb2ee165dd3eb479cbb7c1
|