Metadata-Version: 2.1
Name: starlite-users
Version: 0.1.0
Summary: Authentication and user management for Starlite
License: MIT
Author: Michael Bosch
Author-email: michael@lonelyviking.com
Requires-Python: >=3.8,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Dist: cryptography (>=38.0.4,<39.0.0)
Requires-Dist: passlib
Requires-Dist: python-jose (>=3.3.0,<4.0.0)
Requires-Dist: sqlalchemy (>=1.4.44,<2.0.0)
Requires-Dist: starlite (>=1.43.1,<2.0.0)
Description-Content-Type: text/markdown

# starlite-users
Authentication, authorization and user management for the Starlite framework

_This package is not yet production ready._
---
## Features
* Supports Starlite Session, JWT and JWTCookie auth backends
* SQLAlchemy ORM models (Piccolo and Tortoise on roadmap)
* Pre-configured route handlers for:
  * Authentication
  * Registration
  * Verification
  * Password reset
  * Administrative user management
  * Administrative role management
  * Assign/revoke roles to/from users
* Authorization via role based guards
* Define your own administrative roles for user management

## Getting started
The package is not yet availabe on PyPi. Right now you can:
1. Clone this repository
2. `cd starlite-users && poetry install`
3. `poetry run PYTHONPATH=. python examples/main.py`

This will start a `uvicorn` server running on `127.0.0.1:8000`
Visit `127.0.0.1:8000/schema/swagger` for interactive docs

