Skip to main content

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


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)

Uploaded Source

Built Distribution

pyYaOTP-0.0.2-py3-none-any.whl (8.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page