Python library to generate Steam-style TOTP auth codes
Project description
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")
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
steam-totp-0.1.2.tar.gz
(6.3 kB
view hashes)
Built Distribution
Close
Hashes for steam_totp-0.1.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83d5daaff0a6920ed841bf3b6a8efc970a1f5b455b21da4e4359e0f6dd0b912d |
|
MD5 | 2a552bd776b513d056ab95b78edb8b9b |
|
BLAKE2b-256 | 7a37c410bc62c4b3f6dc154a24812ad2cbfe96e250896b064f04527029600dce |