Metadata-Version: 2.3
Name: sulfur-auth
Version: 0.0.3
Summary: A robust, secure authentication library for Python.
Project-URL: Homepage, https://github.com/sulfur-auth/sulfur
Project-URL: Issues, https://github.com/sulfur-auth/sulfur/issues
Author-email: proplayer919 <me@proplayer919.dev>
Maintainer-email: proplayer919 <me@proplayer919.dev>
License-File: LICENSE
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# Sulfur

Sulfur is a robust, secure authentication library for Python.

## Installation

```bash
pip install sulfur-auth
```

## Examples

```python
from sulfur_auth import auth

sulfur = auth()

# Register a new user
auth_token = sulfur.register("username", "passwordHash")

# Login
auth_token = sulfur.auth("username", "passwordHash")

# Subscribe to events
sulfur.subscribe("userRegister", lambda ctx: print(ctx))
```

To create an API, you can use `flask` to create a web server serving endpoints for login and registration.
