Our great sponsors
-
starlite
Discontinued Light, Flexible and Extensible ASGI API framework | Effortlessly Build Performant APIs [Moved to: https://github.com/litestar-org/litestar]
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
litestar-fullstack
Litestar Fullstack Reference Application with Vue, Vite, and SQLAlchemy, Docker, Task Queues, and more! (by cofin)
Regarding the name: The framework is called Starlite to show the relation to Starlette. This was important to me because my original impetus for writing a framework was the anger I felt looking at the source code of FastAPI - which has relatively little logic and a lot of glue, primarily "re-exporting" code from Starlette and marketing it as its own.
Starlite is an async (ASGI) API framework written in python. It's built using the Starlette ASGI Toolkit and pydantic. Yes, this makes it "similar" to FastAPI - in fact Starlite is directly competing with FastAPI, and is by and large compatible while offers superior performance, better governance, fast release cycles and a whole lot of features.
Starlite is an async (ASGI) API framework written in python. It's built using the Starlette ASGI Toolkit and pydantic. Yes, this makes it "similar" to FastAPI - in fact Starlite is directly competing with FastAPI, and is by and large compatible while offers superior performance, better governance, fast release cycles and a whole lot of features.
In this regard please note - while Starlite builds on Starlette ASGI Toolkit, its actually using only selective parts of Starlette, and most of the implementation in Starlite is its own. For example, we have a different routing system, and our handling of multipart form data depends on a separate package we also maintain.
We released a new authentication package - starlite-sessions, which was added to the starlite-jwt package we previously released, and builds upon the above mentioned middleware.
We released a new authentication package - starlite-sessions, which was added to the starlite-jwt package we previously released, and builds upon the above mentioned middleware.
We switched to using strong typing derived from the asgiref for typing ASGI types, which makes Starlite the strongest type framework of its kind.
We integrated pyright into our CI/CD and ensured high conformance with it, alongside mypy which we already have.
The starlite-oidc, which will offer OpenID Connect authentication our of the box.
As for starlite UI - you can do this, see for example this: https://github.com/cofin/starlite-spa if you want an SSR SPA. Or you can use templating - Starlite supports two template engines by default.
Related posts
- Django Ninja is a web framework for building APIs with Django
- It's Christmas day. You wake up, run to the tree, tear open the largest package with your name on it... FastAPI has added _____?
- Django Ninja
- Ask HN: What Python libraries do you wish more people knew about?
- Datamodel-code-generator: Pydantic model/dataclass from OpenAPI, JSON, YAML