This is a very simple script to generate QR codes with Python.
- Make sure you have Python installed on your machine.
- Clone the repository to your machine.
- Open up the terminal in the cloned folder.
- Create a virtual environment:
python -m venv .venv
- Activate the virtual environment:
source .venv/bin/activate
(or run./.venv/Scripts/Activate.ps1
if you use Windows) - Install requirements:
pip install -r requirements.txt
- 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
.