Skip to main content

PyPI version Downloads

FastAPI-Auth

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
zayycev22

BednyYorik
BednyYorik

ck1999
ck1999
Dragonfl1ght
Dragonfl1ght

Metadata

Release files for auth_fastapi 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for auth_fastapi 1.0.3
File Size Uploaded
auth_fastapi-1.0.3.tar.gz 104.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for auth_fastapi 1.0.3
File Interpreter ABI Platform
auth_fastapi-1.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 136.5 kB

Release files / auth_fastapi-1.0.3.tar.gz

Download URL auth_fastapi-1.0.3.tar.gz
Size 104.8 kB
Tags Source
SHA-256 checksum
How to use checksums
79c4301d38df36cd4ebd06ce602437e1047d8607dd97c1877ef0fa854337888a
BLAKE2b-256 checksum
How to use checksums
3fe6481254273f3195463240419f465c504cf16b0f217b6a096679fac6f3c2b8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.27.0

Release files / auth_fastapi-1.0.3-py3-none-any.whl

Download URL auth_fastapi-1.0.3-py3-none-any.whl
Size 31.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a6b50c7efd85067efd55cf551af733eddff7e6937110f4b8534300b6876c3399
BLAKE2b-256 checksum
How to use checksums
115db9a9d7476e9293360da806334ad2cf8d460545faa5a285eb90100523cf6d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.27.0

Release history Release notifications | RSS feed

This release

1.0.3 This release

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.2.11

2 release files

0.2.10

2 release files

0.2.9

2 release files

0.2.8

2 release files

0.2.7

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page