How to generate QR codes with Python

This is a very simple script to generate QR codes with Python.

Usage

  1. Make sure you have Python installed on your machine.
  2. Clone the repository to your machine.
  3. Open up the terminal in the cloned folder.
  4. Create a virtual environment: python -m venv .venv
  5. Activate the virtual environment: source .venv/bin/activate (or run ./.venv/Scripts/Activate.ps1 if you use Windows)
  6. Install requirements: pip install -r requirements.txt
  7. Run the script with the input string you want to create QR code for as the first argument: python main.py <your-text-here>

You may want to explore the exposed command-line options via: python main.py -h.