BlackSheep
Maat
BlackSheep | Maat | |
---|---|---|
4 | 5 | |
1,731 | 30 | |
1.7% | - | |
7.7 | 2.6 | |
11 days ago | 8 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.
BlackSheep
-
[Guide] A Tour Through the Python Framework Galaxy: Discovering the Stars
Try BlackSheep | Kore | socketify | baize
-
Starlite development updates January ’23
As you can see, in this benchmark Starlite handily beats even blakchseep, a notoriously fast ASGI framework written in Cython
-
FastAPI - stable enough for production grade, scalable app?
If you have something that really needs to go fast, I recommend blacksheep. FastAPI is slow as molasses compared to blacksheep, and as of to date, the fastest python async web framework with the established feature set. It’s written in cython, so that might something to consider if you want to work with the source code somehow.
-
Social media app made with FastAPI
Personally I haven’t used it outside of trying a few very basic things. I’d recommend blacksheep if you want small, performant and low overhead, or sanic which, in my opinion, is the best choice if you do not need all the Django fluff.
Maat
-
[Guide] A Tour Through the Python Framework Galaxy: Discovering the Stars
Try msgspec | Maat | turbo for fast serialization and validation
-
Pydantic V2 leverages Rust's Superpowers [video]
Personally, I think it's great to have many projects solving the same problem and pushing each other further. Although the differences between the faster validations are small, the older ones were quite slow. This will save unnecessary CPU cycles, making it eco-friendly. And now the bar will be even higher with a Rust version, which is really great.
[0]Maat is 2.5 times faster than Pydantic on their own benchmark, as stated in their readme.
[0]https://github.com/Attumm/Maat
- Pydantic
-
Parse, Don't Validate (2019)
https://github.com/Attumm/Maat/blob/main/tests/test_validati...
Since validation is written as dictionaries its possible to store the validations in caching db such as Redis.
And since its simple its easy to extend for anyone use case.
Benchmarks of pydantic has Maat around twice as Pydantic.
What are some alternatives?
socketify.py - Bringing Http/Https and WebSockets High Performance servers for PyPy3 and Python3
wiktextract - Wiktionary dump file parser and multilingual data extractor
sanic - Accelerate your web app development | Build fast. Run fast.
io-ts - Runtime type system for IO decoding/encoding
starlite - Light, Flexible and Extensible ASGI API framework | Effortlessly Build Performant APIs [Moved to: https://github.com/litestar-org/litestar]
baize - Powerful and exquisite WSGI/ASGI framework/toolkit.
fastapi - FastAPI framework, high performance, easy to learn, fast to code, ready for production
pydantic - Data validation using Python type hints
aiomonitor - aiomonitor is module that adds monitor and python REPL capabilities for asyncio application
traitlets - A lightweight Traits like module
uvicorn-gunicorn-docker - Docker image with Uvicorn managed by Gunicorn for high-performance web applications in Python with performance auto-tuning.
hupper - in-process file monitor / reloader for reloading your code automatically during development