You can draw QR codes in your terminal by Python:
You need install these:
yum install -y python-devel zlib-devel libjpeg-turbo-devel
pip install pillow qrcode
Can be installed with pip:
pip install qrcode-terminal
import qrcode_terminal
qrcode_terminal.draw('http://www.baidu.com')
qrcode-terminal-py -d http://www.baidu.com
echo "http://www.baidu.com" | qrcode-terminal-py
Released under the MIT License.