Sanatio
Maat
Sanatio | Maat | |
---|---|---|
1 | 5 | |
6 | 30 | |
- | - | |
10.0 | 7.0 | |
over 1 year ago | 5 days ago | |
Python | Python | |
Apache License 2.0 | 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.
Sanatio
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?
wiktextract - Wiktionary dump file parser and multilingual data extractor
io-ts - Runtime type system for IO decoding/encoding
baize - Powerful and exquisite WSGI/ASGI framework/toolkit.
pydantic - Data validation using Python type hints
traitlets - A lightweight Traits like module
hupper - in-process file monitor / reloader for reloading your code automatically during development
OpenAlchemy - Define SQLAlchemy models using the OpenAPI specification.
serialite - Serialization and deserialization library for Python
aiomonitor - aiomonitor is module that adds monitor and python REPL capabilities for asyncio application
koda-validate - Typesafe, Composable Validation
validator - :100:Go Struct and Field validation, including Cross Field, Cross Struct, Map, Slice and Array diving