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
Metadata
Release files for pyYaOTP 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| pyYaOTP-0.0.2.tar.gz | 7.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyYaOTP-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.8 kB
Release files / pyYaOTP-0.0.2.tar.gz
| Download URL | pyYaOTP-0.0.2.tar.gz |
|---|---|
| Size | 7.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f4e56d9b50a66f39d119e2fed651e6164ba36ccf632a3e9da6ce1b89a3167bd7
|
|
BLAKE2b-256 checksum How to use checksums |
6d13f1cc1d0e6d0d078f7a183a0f3fb8eb155bc6b16b1cc5f9a9c40e6709efa3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.15
|
Release files / pyYaOTP-0.0.2-py3-none-any.whl
| Download URL | pyYaOTP-0.0.2-py3-none-any.whl |
|---|---|
| Size | 8.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cc75ac96ee72a8317cc9234052ee2e10ec741225c3842dd8b274b816daf9b6fd
|
|
BLAKE2b-256 checksum How to use checksums |
051ae870c64b202ec9cd208afbb5b41b9f98d7be126c5bceae8247bf24697692
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.15
|
Security for pyYaOTP 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.