How to generate qr code in python using pyqrcode library?

How to generate qr code in python using pyqrcode library?