drf-turbo
Maat
drf-turbo | Maat | |
---|---|---|
2 | 5 | |
81 | 30 | |
- | - | |
6.0 | 2.6 | |
7 months 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.
drf-turbo
-
[Guide] A Tour Through the Python Framework Galaxy: Discovering the Stars
Try msgspec | Maat | turbo for fast serialization and validation
- GitHub - Mng-dev-ai/drf-turbo: An alternative serializer implementation for REST framework written in cython built for speed.
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?
aiomonitor - aiomonitor is module that adds monitor and python REPL capabilities for asyncio application
wiktextract - Wiktionary dump file parser and multilingual data extractor
Cython - The most widely used Python to C compiler
io-ts - Runtime type system for IO decoding/encoding
OpenAlchemy - Define SQLAlchemy models using the OpenAPI specification.
baize - Powerful and exquisite WSGI/ASGI framework/toolkit.
pydantic - Data validation using Python type hints
hupper - in-process file monitor / reloader for reloading your code automatically during development
traitlets - A lightweight Traits like module
msgspec - A fast serialization and validation library, with builtin support for JSON, MessagePack, YAML, and TOML