starlite
fastapi-crudrouter
Our great sponsors
starlite | fastapi-crudrouter | |
---|---|---|
73 | 4 | |
2,019 | 1,302 | |
- | - | |
9.4 | 0.0 | |
about 1 year 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.
starlite
-
Renaming Starlite to LiteStar
For the past one and a half years 😁. Checkout our docs https://starliteproject.dev/
We've been working hard towards a version 2.0 for a while, and its going to be pretty awesome. But since we are repeatedly getting feedback about the name being too similar to Starlette (there is a good a historical reason for this, as you can [read in our readme](Starlite), we've started discussing renaming the framework.
-
Starlite updates March '22 | 2.0 is coming
#1286 is the issue tracking the removal of our last internal Pydantic datastructure, and PR #1382 has the addition of attrs based signature modelling. Once those are merged you will be able to use Starlite without Pydantic.
There are a few more things that have to be done before Starlite 2.0 will be released. Yesterday the second alpha version (2.0.0alpha2) has been released, but it won't be the last development release before 2.0.0.
-
Is something wrong with FastAPI?
As alternative you can give a try to Starlite (not Starlette, that FastAPI is based on), it's look quite promising
Falcon FastAPI Sanic Starlite (disclosure: I do work here)
-
Starlite February Updates
First off, we got a new logo, new docs and our own domain - check it out at https://starliteproject.dev/.
Here is the newest and latest update Starlite - the blazingly fast ASGI API framework!
-
Python projects with best practices on Github?
Well, I'm not objective but I'd say Starlite (https://github.com/starlite-api/starlite) is a might fine codebase. You can also learn a lot about tooling and typing going through it.
fastapi-crudrouter
-
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 - FastAPI framework, high performance, easy to learn, fast to code, ready for production
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 - The little ASGI framework that shines. 🌟
fastapi-users - Ready-to-use and customizable users management for FastAPI
mangum - AWS Lambda support for ASGI applications
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)
aiomultiprocess - Take a modern Python codebase to the next level of performance.
uvicorn - An ASGI web server, for Python. 🦄
api-performance-tests - Benchmarking Litestar vs other ASGI API framework
kopf - A Python framework to write Kubernetes operators in just a few lines of code
aiosql - Simple SQL in Python