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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file pyYaOTP-0.0.2.tar.gz.

File metadata

  • Download URL: pyYaOTP-0.0.2.tar.gz
  • Upload date:
  • Size: 7.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.15

File hashes

Hashes for pyYaOTP-0.0.2.tar.gz
Algorithm Hash digest
SHA256 f4e56d9b50a66f39d119e2fed651e6164ba36ccf632a3e9da6ce1b89a3167bd7
MD5 d90fcebb7b4c187e4ae1612c5360c971
BLAKE2b-256 6d13f1cc1d0e6d0d078f7a183a0f3fb8eb155bc6b16b1cc5f9a9c40e6709efa3

See more details on using hashes here.

File details

Details for the file pyYaOTP-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: pyYaOTP-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 8.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.15

File hashes

Hashes for pyYaOTP-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 cc75ac96ee72a8317cc9234052ee2e10ec741225c3842dd8b274b816daf9b6fd
MD5 84c2aff5bec110bec17a43cde39501e1
BLAKE2b-256 051ae870c64b202ec9cd208afbb5b41b9f98d7be126c5bceae8247bf24697692

See more details on using hashes here.

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