Skip to content

Latest commit

 

History

History
38 lines (31 loc) · 1019 Bytes

README.md

File metadata and controls

38 lines (31 loc) · 1019 Bytes

Python QRCode Terminal

You can draw QR codes in your terminal by Python: Py QrCode

Install Dependencies

You need install these:

    yum install -y python-devel zlib-devel libjpeg-turbo-devel
    pip install pillow qrcode

Install

Can be installed with pip:

    pip install qrcode-terminal

Useage

As Library

    import qrcode_terminal
    qrcode_terminal.draw('http://www.baidu.com')

Py QrCode

In Terminal

    qrcode-terminal-py -d http://www.baidu.com
    echo "http://www.baidu.com" | qrcode-terminal-py

Py QrCode

License

Released under the MIT License.