fastapi-users
fastapi-crudrouter
Our great sponsors
fastapi-users | fastapi-crudrouter | |
---|---|---|
7 | 4 | |
4,034 | 1,302 | |
3.3% | - | |
8.1 | 0.0 | |
12 days ago | 6 months ago | |
Python | Python | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
fastapi-users
-
Thoughts on FastAPI Users
I'm working with it now as a backend to svelte! It's very ergonomic especially since I'm using sqlalchemy + postgres (asyncpg) so I could just copy paste the example code. Heads up though that it doesn't implement any form of token refresh pattern so you'll have to do that yourself.
-
JWT Auth Library Issue
It might be worth checking out fastapi-users. It has a lot of increased functionality like JWT with refresh, OAuth social login, cookie sessions, and more. It’s pretty cool: https://github.com/fastapi-users/fastapi-users
-
Ideas for Svelte + Python backed + social auth
1) There is https://github.com/fastapi-users/fastapi-users library for FastAPI, but social auth is not very clear documented, DB not included.
-
Is there a simple but robust authentication library I can use with FastAPI?
found this: https://github.com/fastapi-users/fastapi-users
-
Has anyone packaged FastAPI middleware so it can be used easily for multiple projects?
Well there is already an existing package that works pretty well : https://github.com/frankie567/fastapi-users
-
OAuth2 examples for Deno
In the Python world, Flask and FastAPI are more performant, lighter frameworks. The FastAPI Users module looks like a good option for authentication.
-
FastAPI framework, high perf, easy to learn, fast to code, ready for production
I'd recommend you check out FastAPI-Users if you haven't already: https://github.com/frankie567/fastapi-users
It provides a users framework with OAuth2 integration, support for different ORM backends, and routes for authentication, verification, etc.
Full disclosure: I am a contributor to this project.
fastapi-crudrouter
-
why when I search for Python jobs I find alot! but when I search for Django (the most used Python framework ) I get few compared to spring or nodejs ?
FastAPI does have an equivalent. Something like this? https://github.com/awtkns/fastapi-crudrouter
- FastAPI CRUD Router
-
FUNCTOOLS CHANGED MY LIFE
I can't show any pics cuz of uk NDA and all that. I can tell you the gist of it though. FastAPI is already pretty good at the abstraction part. Our middleware had a lot of rerouting and it was basically just a bunch of redundant functions. I just used this cool ass package https://fastapi-crudrouter.awtkns.com/ and used the partial function from functools to generate endpoints for every scenario/db tables.
-
FastAPI framework, high perf, easy to learn, fast to code, ready for production
Thanks, that's a really helpful example.
Where I think this could be taken to the next level of reusability is in modularising the front-end into API-specific components. For example, the login behaviour could depend on FastAPI-Users, with a sibling frontend library containing components that implement the same login flow. Adding user behaviour is then a matter of using the same third-party library on the front and back end.
This approach could be extended to other components such as an admin panel (perhaps using https://github.com/awtkns/fastapi-crudrouter), or a blogging component.
What are some alternatives?
fastapi-utils - Reusable utilities for FastAPI
starlite - Light, Flexible and Extensible ASGI API framework | Effortlessly Build Performant APIs [Moved to: https://github.com/litestar-org/litestar]
starsessions - Advanced sessions for Starlette and FastAPI frameworks
Flask-AppBuilder - Simple and rapid application development framework, built on top of Flask. includes detailed security, auto CRUD generation for your models, google charts and much more. Demo (login with guest/welcome) - http://flaskappbuilder.pythonanywhere.com/
starlette-context - Middleware for Starlette that allows you to store and access the context data of a request. Can be used with logging so logs automatically use request headers such as x-request-id or x-correlation-id.
mangum - AWS Lambda support for ASGI applications
full-stack-fastapi-template - Full stack, modern web application template. Using FastAPI, React, SQLModel, PostgreSQL, Docker, GitHub Actions, automatic HTTPS and more.
Dask - Parallel computing with task scheduling
openapi-generator - OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)
fastapi_contrib - Opinionated set of utilities on top of FastAPI
aiomultiprocess - Take a modern Python codebase to the next level of performance.