JohnHammond / qr2unicode

Crappy Python code to render a QR code as "plaintext" with Unicode

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

qr2unicode

John Hammond | Saturday, March 16, 2024


Crappy Python code to transform a QR code into "plaintext" Unicode characters.

Quickstart

Use a virtual environment, ya monkeys.

python3 -m venv env
. env/bin/activate

Install dependencies.

pip install -r requirements.txt

Run the tool.

python3 qr2unicode.py        
# usage: qr2unicode.py [-h] [--output OUTPUT] [--verbose] input
# qr2unicode.py: error: the following arguments are required: input

Examples

python3 qr2unicode.py 'hello world' 


██████████████░░░░██░░████░░██████████████
██░░░░░░░░░░██░░░░██████░░░░██░░░░░░░░░░██
██░░██████░░██░░████░░████░░██░░██████░░██
██░░██████░░██░░░░██░░██░░░░██░░██████░░██
██░░██████░░██░░░░░░██░░██░░██░░██████░░██
██░░░░░░░░░░██░░░░░░░░░░██░░██░░░░░░░░░░██
██████████████░░██░░██░░██░░██████████████
░░░░░░░░░░░░░░░░████░░████░░░░░░░░░░░░░░░░
██████░░████████████████░░████░░░░░░██░░░░
░░░░░░██░░██░░████████░░░░░░██████░░░░████
██████░░████████░░██░░░░████░░████████████
░░██░░░░██░░░░██░░████░░░░░░░░░░██░░░░██░░
██████░░██░░████░░░░██░░████░░████░░░░░░░░
░░░░░░░░░░░░░░░░██░░░░██░░██░░░░██░░██████
██████████████░░██░░░░██░░░░░░████░░██████
██░░░░░░░░░░██░░██████████░░░░██░░░░░░░░██
██░░██████░░██░░██░░████░░░░░░░░██░░░░░░░░
██░░██████░░██░░░░██████░░░░██████░░████░░
██░░██████░░██░░████░░░░██░░██░░██░░██░░██
██░░░░░░░░░░██░░██░░████░░░░░░░░██░░░░██░░
██████████████░░████░░████░░░░██░░░░░░████

About

Crappy Python code to render a QR code as "plaintext" with Unicode


Languages

Language:Python 100.0%