Steam TOTP
This library generates Steam-style 5-digit alphanumeric two-factor authentication codes given a shared secret.
Works on Python >3.6,<4.0, may work on Python 2.7.x but not tested.
Usage
Install
You can install from PyPi.
❯ pip install steam-totp
Or install from GitHub for latest version.
❯ pip install https://github.com/shabbywu/python-steam-totp/archive/main.zip
Examples
from steam_totp import generate_twofactor_code_for_time
code = generate_twofactor_code_for_time(shared_secret="your-shared-secret")
Release files for steam-totp 0.1.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 | |
|---|---|---|---|
| steam-totp-0.1.2.tar.gz | 6.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| steam_totp-0.1.2-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 12.7 kB
Release files / steam-totp-0.1.2.tar.gz
| Download URL | steam-totp-0.1.2.tar.gz |
|---|---|
| Size | 6.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
05d6817401973f76eb8ff3fdfbf3423c443c20ee6886e05e8e4082b618152775
|
|
BLAKE2b-256 checksum How to use checksums |
e22251f9819b84524c5f8aa3f32ad22b5b36544e4e1abaafb98933443a98b059
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.9.12
|
Release files / steam_totp-0.1.2-py2.py3-none-any.whl
| Download URL | steam_totp-0.1.2-py2.py3-none-any.whl |
|---|---|
| Size | 6.4 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
83d5daaff0a6920ed841bf3b6a8efc970a1f5b455b21da4e4359e0f6dd0b912d
|
|
BLAKE2b-256 checksum How to use checksums |
7a37c410bc62c4b3f6dc154a24812ad2cbfe96e250896b064f04527029600dce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.9.12
|