starlite
DISCONTINUED
api-performance-tests
Our great sponsors
starlite | api-performance-tests | |
---|---|---|
73 | 10 | |
2,019 | 30 | |
- | - | |
9.4 | 5.7 | |
12 months ago | 9 days ago | |
Python | Python | |
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.
api-performance-tests
-
Starlite December '22 Updates
Since version v1.39.0 Starlite (released on the 12.11.22) no longer has any dependency on Starlette. Between this version and v1.45.0 that was released today (11.12.22), we have invested significant effort into benchmarking and optimizing code. One of our maintainers, @provinzkraut (Janek Nouvertné), has done amazing work rewriting our benchmarking framework. You can read more about this in here and run the benchmarks on your own by cloning the benchmark repository. The results are pretty impressive if I may say so myself:
-
Starlite new features, benchmarks and a call for contributors and maintainers
Another important point I want to address is the framework's performance. The latest iteration of the TechPowered Benchmarks came out and they really surprised us. Starlite appeared rather slow there, and FastAPI was almost 200% faster thatn Starlette, which isn't technically possible given the structure of this library. Obviously something weird is happening there (no clue what), but this compelled us to invest some more efforts into our own benchmarking, the repository for which you can see here.
-
Starlite is one of the fastest python API frameworks - its even faster than Starlette and FastAPI
I looked but still don’t understand… https://github.com/Goldziher/api-performance-tests/blob/main/results/json-starlite-sync-json-abc-1.json has 32k requests (per second?) but your graphs talk about 107
-
Starlite is fast(er)
Legend: - a-: async, s-: sync - np: no params, pp: path param, qp: query param, mp: mixed params **Note*\*: only Starlite uses orjson by default - using their default settings both Starlette and FastAPI are significantly slower in serializing/deserializing JSON. You can find the tests in this repo, which also documents the test setup etc. As always, I invite you to checkout Starlite and maybe ⭐our repo. Starlite is a collaborative project - we have a discord server, which you can find here. You can find my previous reddit posts related to Starlite in these links: 1. Post regarding the builtin support for SQL Alchemy and the plugin system 2. Post introducing Starlite You can also read the article in medium (no pay gate) introducing Starlite.
-
Starlite is faster than Starlette and FastAPI
You can find the tests in this repo, which also documents the test setup etc.
What are some alternatives?
fastapi - FastAPI framework, high performance, easy to learn, fast to code, ready for production
fastapi-crudrouter - A dynamic FastAPI router that automatically creates CRUD routes for your models
starlette - The little ASGI framework that shines. 🌟
uvicorn - An ASGI web server, for Python. 🦄
BlackSheep - Fast ASGI web framework for Python
SQLAlchemy - The Database Toolkit for Python
pydantic - Data validation using Python type hints
pydantic-factories - Simple and powerful mock data generation using pydantic or dataclasses
edX - The Open edX LMS & Studio, powering education sites around the world!
django-logpipe - Automated mirror of https://gitlab.com/thelabnyc/django-logpipe
django-async-include - Asynchronous inclusion of Django templates
CPython - The Python programming language