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")
Metadata
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 | Provenance | |
|---|---|---|---|---|
| steam-totp-0.1.2.tar.gz | 6.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| steam_totp-0.1.2-py2.py3-none-any.whl | Python 2, Python 3 | 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
|
Security for steam-totp 0.1.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.