Python implementation of Yandex OTP based on KeeYaOtp
Project description
pyYaOTP
Python implementation of Yandex OTP (Яндекс.Ключ) based on KeeYaOtp
Installation
python -m pip install pyYaOTP
# or
python -m pip install git+https://github.com/WhiteApfel/pyYaOTP.git
# or
git clone https://github.com/WhiteApfel/pyYaOTP.git
cd pyYaOTP
python setup.py install
How to use
from pyYaOTP import YaOTP
yaotp = YaOTP(pin="<<pin>>", secret="<<secret>>", login="me@asex.space")
print(yaotp.generate_code())
# QR (Magic) auth
if yaotp.magic_auth(track_id=input("Track ID >>> ")) is True:
print("Success")
else:
print("Error")
keywords: Яндекс.Ключ, Yandex.Key, Yandex OTP, YaOTP
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyYaOTP-0.0.2.tar.gz
(7.7 kB
view hashes)