qr-codes-gen v0.1.0

Simple command-line QR code generator for text and URLs

Automatically creates qr_codes/ directory, prevents overwriting existing files, with beautiful console output.

Python CLI QR Code Generator Utility qrcode

qr-codes-gen — a simple command-line QR code generator for text and URLs. Automatically creates qr_codes/ directory, prevents overwriting existing files, with beautiful console output.

QR Code Example

Sample QR Code — Scan me!

  • Generate QR codes from any text or URL
  • Automatically creates qr_codes/ directory
  • Prevents overwriting existing files
  • Beautiful console output with customizable formatting

# Clone the repository
git clone https://github.com/aixandrolab/qr-codes-gen.git
cd qr-codes-gen

# Create and activate virtual environment
python -m venv .venv
source .venv/bin/activate

# Install dependencies
pip install -r requirements.txt

Run the application:

python app.py

Follow the interactive prompts:

  1. Enter text or URL — Type any text or website address
  2. Enter the name of the final file — Specify the output filename (without extension)

The QR code will be saved in the qr_codes/ directory as a PNG file.

Example 1: Generate QR code for a website

Enter text or URL: https://github.com/aixandrolab
Enter the name of the final file: aixandrolab

Output: qr_codes/aixandrolab.png ✓

Example 2: Generate QR code for text

Enter text or URL: Hello, World!
Enter the name of the final file: greeting

Output: qr_codes/greeting.png ✓

qr-codes-gen/
├── app.py                 # Main entry point
├── tools/
│   ├── __init__.py
│   ├── config.py          # Application configuration
│   ├── manager.py         # AppManager class
│   ├── printer.py         # SmartPrinter for console output
│   └── qr_code_master.py  # QR code generation logic
├── qr_codes/              # Generated QR codes (auto-created)
├── LICENSE                # BSD 3-Clause license
└── README.md

By using this software, you agree to the full disclaimer terms.

Software provided "AS IS" without warranty. You assume all risks.

Full legal disclaimer: See DISCLAIMER.md

License: BSD 3-Clause License

Links


Created by Aixandrolab

Copyright © 2026, Alexander Suvorov. All rights reserved.