Maat
BlackSheep
Maat | BlackSheep | |
---|---|---|
5 | 4 | |
30 | 1,731 | |
- | 2.0% | |
2.6 | 7.7 | |
8 months ago | 13 days 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.
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.
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.
What are some alternatives?
wiktextract - Wiktionary dump file parser and multilingual data extractor
socketify.py - Bringing Http/Https and WebSockets High Performance servers for PyPy3 and Python3
io-ts - Runtime type system for IO decoding/encoding
sanic - Accelerate your web app development | Build fast. Run fast.
baize - Powerful and exquisite WSGI/ASGI framework/toolkit.
starlite - Light, Flexible and Extensible ASGI API framework | Effortlessly Build Performant APIs [Moved to: https://github.com/litestar-org/litestar]
pydantic - Data validation using Python type hints
fastapi - FastAPI framework, high performance, easy to learn, fast to code, ready for production
traitlets - A lightweight Traits like module
aiomonitor - aiomonitor is module that adds monitor and python REPL capabilities for asyncio application
hupper - in-process file monitor / reloader for reloading your code automatically during development
uvicorn-gunicorn-docker - Docker image with Uvicorn managed by Gunicorn for high-performance web applications in Python with performance auto-tuning.