pip install pyotp
import pyotp
import base64

totp = pyotp.TOTP(base64.b32encode("123123"))
totp.now()
totp.verify(492039)

google au: ‘otpauth://totp/somelabel?secret=’ + encodedForGoogle