Ready-to-use and customizable users management for FastAPI
Project description
FastAPI Users
Ready-to-use and customizable users management for FastAPI
[!NOTE] This project is now in maintenance mode. While we'll continue to provide security updates and dependency maintenance, no new features will be added. We encourage you to explore the project and use it as-is, knowing it will remain stable and secure.
We're currently working on a new Python authentication toolkit that will ultimately supersede FastAPI Users. Stay tuned for updates!
Documentation: https://fastapi-users.github.io/fastapi-users/
Source Code: https://github.com/fastapi-users/fastapi-users
Add quickly a registration and authentication system to your FastAPI project. FastAPI Users is designed to be as customizable and adaptable as possible.
Features
- Extensible base user model
- Ready-to-use register, login, reset password and verify e-mail routes
- Ready-to-use social OAuth2 login flow
- Dependency callables to inject current user in route
- Pluggable password validation
- Customizable database backend
- SQLAlchemy ORM async included
- MongoDB with Beanie ODM included
- Multiple customizable authentication backends
- Transports: Authorization header, Cookie
- Strategies: JWT, Database, Redis
- Full OpenAPI schema support, even with several authentication backends
Contributors and sponsors ✨☕️
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!
Development
Setup environment
We use Hatch to manage the development environment and production build. Ensure it's installed on your system.
Run unit tests
You can run all the tests with:
hatch run test
Format the code
Execute the following command to apply linting and check typing:
hatch run lint
Serve the documentation
You can serve the documentation locally with the following command:
hatch run docs
The documentation will be available on http://localhost:8000.
License
This project is licensed under the terms of the MIT license.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fastapi_users-15.0.4.tar.gz.
File metadata
- Download URL: fastapi_users-15.0.4.tar.gz
- Upload date:
- Size: 121.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Hatch/1.16.3 cpython/3.10.19 HTTPX/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
62657a4323de929cd98697b0fbdea77773ef271a6b57ef359080b9f773ebe144
|
|
| MD5 |
19d2e649980c01efaac0466ad706935b
|
|
| BLAKE2b-256 |
4b52fadeae2c8435fb457a9cd91e402639fa5c9a25b16e6d204e043bf00cd875
|
File details
Details for the file fastapi_users-15.0.4-py3-none-any.whl.
File metadata
- Download URL: fastapi_users-15.0.4-py3-none-any.whl
- Upload date:
- Size: 39.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: Hatch/1.16.3 cpython/3.10.19 HTTPX/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
30940894825e1dd7b86f6013e4bc75eccc25ae8ce5261d1b180f6411bb28aff4
|
|
| MD5 |
3c312bfda751827d9dcf488b8defba8b
|
|
| BLAKE2b-256 |
71485fb2a18227ccbd5138515f21fc4fa8abcd9982238de43511d7f941e708db
|