Learn practical skills, build real-world projects, and advance your career
Updated 2 years ago
pyOTP Project
# Installing pyotp
!pip install pyotp
Collecting pyotp
Downloading pyotp-2.6.0-py2.py3-none-any.whl (11 kB)
Installing collected packages: pyotp
Successfully installed pyotp-2.6.0
Getting authentication URI for Authenticator App
#Let's import pyotp
import pyotp
url = pyotp.totp.TOTP('JBSWY3DPEHPK3PXP').provisioning_uri(name='alice@google.com', issuer_name='Secure App')