Metadata-Version: 2.1
Name: steam-totp
Version: 0.1.2
Summary: Python library to generate Steam-style TOTP auth codes
Home-page: https://github.com/shabbywu/python-steam-totp
License: Apache-2.0
Author: shabbywu
Author-email: shabbywu@qq.com
Requires-Python: >=2.7,<4.0
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: dataclasses (==0.7); python_version < "3.5"
Project-URL: Repository, https://github.com/shabbywu/python-steam-totp
Description-Content-Type: text/markdown

# 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.

```bash
❯ pip install steam-totp
```

Or install from GitHub for latest version.

```bash
❯ pip install https://github.com/shabbywu/python-steam-totp/archive/main.zip
```

### Examples
```python
from steam_totp import generate_twofactor_code_for_time

code = generate_twofactor_code_for_time(shared_secret="your-shared-secret")
```

