qr-cli-tool
QR Code Generator & Reader CLI — generate, read, and encode QR codes from the terminal.
Install
pip install qr-cli-tool
# For QR reading support:
pip install qr-cli-tool[read]
Usage
Generate QR codes
# Terminal output (Unicode blocks)
qr generate "https://example.com"
# Save as PNG
qr generate "Hello World" -o hello.png
# Save as SVG
qr generate "data" -o code.svg
# High error correction
qr generate "important" -e H
# Inverted for dark terminals
qr generate "text" --invert
# JSON metadata
qr generate "text" --json
Read QR codes from images
qr read photo.png
qr read screenshot.jpg --json
Requires pyzbar (pip install qr-cli-tool[read]) or zbar CLI (brew install zbar).
Encode structured data
# WiFi network
qr encode "" -t wifi --ssid MyNetwork --password secret123
# Email with subject
qr encode "user@example.com" -t email --subject "Hello"
# Phone number
qr encode "+1234567890" -t phone
# SMS
qr encode "+1234567890" -t sms --body "Hey there"
# Geographic location
qr encode "37.7749,-122.4194" -t geo
# Contact card
qr encode "+1234567890" -t vcard --name "Jane Doe"
List supported types
qr types
Features
- Terminal QR output with Unicode blocks
- PNG and SVG export
- Structured encoding (WiFi, email, phone, SMS, geo, vCard)
- QR reading from images (with pyzbar or zbar)
- Error correction levels (L/M/Q/H)
- JSON output (
--json) for automation - No interactive prompts — fully scriptable
For AI Agents
See SKILL.md for agent-optimized documentation.
License
MIT
Metadata
Release files for qr-cli-tool 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| qr_cli_tool-0.1.0.tar.gz | 5.8 kB | Without provenance | Details for qr_cli_tool-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| qr_cli_tool-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for qr_cli_tool-0.1.0-py3-none-any.whl |
Total release size: 12.2 kB
Release files / qr_cli_tool-0.1.0.tar.gz
| Download URL | qr_cli_tool-0.1.0.tar.gz |
|---|---|
| Size | 5.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
06cb237504804b132c064b2badfa41ebff2dccf28d57e637a05519a9e97a9ffa
|
|
BLAKE2b-256 checksum How to use checksums |
1c759a15b0b4c53906a1df8c4c1543f37c3673f863c0a16d16bdd4852b447108
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.2
|
Release files / qr_cli_tool-0.1.0-py3-none-any.whl
| Download URL | qr_cli_tool-0.1.0-py3-none-any.whl |
|---|---|
| Size | 6.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0811dc3706a0f44a3587293cae43d0fcdb091ef6ac8c4415c5fe50fd78b28641
|
|
BLAKE2b-256 checksum How to use checksums |
d8c7c43fc450852e705972acc1ebe45ee59459c25b4353d3e8931496a766283e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.2
|
Security for qr-cli-tool 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.