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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file steam-totp-0.1.2.tar.gz.
File metadata
- Download URL: steam-totp-0.1.2.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
05d6817401973f76eb8ff3fdfbf3423c443c20ee6886e05e8e4082b618152775
|
|
| MD5 |
7322cce7e3c35884ee60b0a33f1f614e
|
|
| BLAKE2b-256 |
e22251f9819b84524c5f8aa3f32ad22b5b36544e4e1abaafb98933443a98b059
|
File details
Details for the file steam_totp-0.1.2-py2.py3-none-any.whl.
File metadata
- Download URL: steam_totp-0.1.2-py2.py3-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
83d5daaff0a6920ed841bf3b6a8efc970a1f5b455b21da4e4359e0f6dd0b912d
|
|
| MD5 |
2a552bd776b513d056ab95b78edb8b9b
|
|
| BLAKE2b-256 |
7a37c410bc62c4b3f6dc154a24812ad2cbfe96e250896b064f04527029600dce
|