Skip to main content

qrTxtGen 📡

From the minds of Daneyand & IBM Bob...

Generate a QR code from any text or URL — rendered instantly in your terminal with Unicode block art, plus optional PNG export. No browser, no web app, no nonsense.

    ██████████████    ██  ██████████    ██████████████
    ██          ██    ████  ██████████  ██          ██
    ██  ██████  ██  ██  ████  ██  ██    ██  ██████  ██
    ██  ██████  ██  ████████    ████    ██  ██████  ██
    ██  ██████  ██  ██  ████      ████  ██  ██████  ██
    ██          ██  ██  ██████          ██          ██
    ██████████████  ██  ██  ██  ██  ██  ██████████████

⚡ Quickstart

pipx install qrtxtgen
qrTxtGen "https://github.com/007Style/qrTxtGen"

pipx gives qrTxtGen its own isolated environment and puts a qrTxtGen command on your PATH. Upgrade with pipx upgrade qrtxtgen; remove with pipx uninstall qrtxtgen. If the command is not found, run pipx ensurepath and open a new terminal.

Run the script directly

# Terminal display
python3 qr_gen.py "https://github.com/007Style/qrTxtGen"

# Terminal display + save PNG
python3 qr_gen.py "https://github.com/007Style/qrTxtGen" --save qr.png

# Crank up error correction
python3 qr_gen.py "Hello, World!" --error H --save hello.png

🚀 Standalone Binaries — No Python Required

Grab a pre-built binary from Releases and just run it:

Platform Binary
macOS arm64 qrTxtGen-1.0.0-macos-arm64.zip
Linux x86_64 qrTxtGen-1.0.0-linux-x86_64.zip
unzip qrTxtGen-1.0.0-macos-arm64.zip
./qrTxtGen "https://ibm.com"

🛠 Build from Source

Requirements

pip3 install qrcode pillow

Run

python3 qr_gen.py "your text here"

Build standalone binary (macOS)

pip3 install pyinstaller
pyinstaller --onefile --name qrTxtGen --strip --clean qr_gen.py
./dist/qrTxtGen "your text here"

Build standalone binary (Linux x86_64) — requires Docker

./build-linux.sh
# → dist/qrTxtGen-1.0.0-linux-x86_64.zip

🎛 Options

Flag Description
text The text or URL to encode (required)
--save FILE.png Also save the QR code as a PNG image
--error L|M|Q|H Error correction level — L (7%) · M (15%) · Q (25%) · H (30%) — default: M

📁 Project Layout

qrTxtGen/
├── qr_gen.py               ← main script
├── Dockerfile.linux-build  ← Linux build recipe
├── build-linux.sh          ← one-command Linux builder
└── dist/                   ← compiled binaries land here

📜 License

MIT — see LICENSE.


Built with Python · qrcode · Pillow · PyInstaller

From the minds of IBM Bob & Daneyand

Metadata

Release files for qrtxtgen 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for qrtxtgen 1.0.0
File Size Uploaded Provenance Actions
qrtxtgen-1.0.0.tar.gz 4.3 kB Without provenance Details for qrtxtgen-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for qrtxtgen 1.0.0
File Interpreter ABI Platform Actions
qrtxtgen-1.0.0-py3-none-any.whl Python 3 none any Details for qrtxtgen-1.0.0-py3-none-any.whl

Total release size: 9.0 kB

Release files / qrtxtgen-1.0.0.tar.gz

Download URL qrtxtgen-1.0.0.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
d664d6598ea20d03ece3d5dbbd22d481df9bb3e679e7524d2882135e0b8173de
BLAKE2b-256 checksum
How to use checksums
161eadbfb506e0b559e271c9ee8e08c9e68f8fba9504d680a790755b0e906833
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.13

Release files / qrtxtgen-1.0.0-py3-none-any.whl

Download URL qrtxtgen-1.0.0-py3-none-any.whl
Size 4.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e0781e5d5a8fc475e8c9237f0b9294c6354ac15a000bb2096e12c30813f33af1
BLAKE2b-256 checksum
How to use checksums
3f299ceae163c5f944ef5ddacbbfd82479a513d2546f09b2cf12d24cbc8e5386
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.13

Security for qrtxtgen 1.0.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.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page