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(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.0.tar.gz
(6.3 kB
view hashes)
Built Distribution
Close
Hashes for steam_totp-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7de38d1fdc8041304ffa4f245750f3fb357b69b10de2564c1faa2629ac3692b |
|
MD5 | 0ba7de1ddcd19c0c1c149ccf88998b82 |
|
BLAKE2b-256 | dcf604d11699f532a09bca978d49e7804bc53a0f6fbe817db156e7a68d39c5bf |