Authentication library for FastAPI for fast migration from Django/DRF. Serializers, signals, permissions, pagination and filters included.
Reason this release was yanked:
errors found
Project description
FastAPI-Auth
FastAPI-Auth is an authentication library built upon the principles of Django and fastapi-users frameworks, designed for seamless migration from Django to FastAPI.
It supports multiple ORMs including SQL Alchemy and Tortoise ORM, with plans for SQL model support in the future.
Features
- Pagination
- Filtering
- JWT Token-based Authentication
- Endpoint Permissions
- Serializers
- Signals
- Secret Key Generation
Installation
For SQL Alchemy ORM:
pip install auth_fastapi[sqlalchemy]
For Tortoise ORM:
pip install auth_fastapi[tortoise]
Note: The package is named auth_fastapi because fastapi-auth already exists.
Examples
FastAPI-auth with Tortoise ORM https://github.com/zayycev22/fastapi_auth_tortoise_example
FastAPI-auth with SqlAlchemy ORM https://github.com/zayycev22/fastapi_auth_sqlalchemy_example
Contributors
zayycev22 |
BednyYorik |
ck1999 |
Dragonfl1ght |
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
Hashes for auth_fastapi-0.2.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dcb5ffb3e17653690ff341c8843025ea1f5429effe6275ad7e5bb0bf0e303771 |
|
MD5 | 3c3382805930943168dfe25bb19fbe75 |
|
BLAKE2b-256 | 88729e282145fdeda414ed7b8b74e7d88d90d1a45fb326678f94c3e17bd6c5d0 |