Skip to content

在控制台打印二维码 Draw QRCodes in your terminal by Python

License

Notifications You must be signed in to change notification settings

sunnyjocker/qrcode-terminal

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

在控制台打印二维码 Draw QRCodes in your terminal by Python

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%