Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
msgspec
A fast serialization and validation library, with builtin support for JSON, MessagePack, YAML, and TOML
FYI I wrote koda-validate, which is significantly faster than pydantic, has a similar API, and is pure python.
Thanks for pointing out to that, I did not know about it. Also attaching repo in case someone would be interested as well - https://github.com/pydantic/pydantic-core
There's also msgspec, which per my benchmarks is: - 20-80x faster for JSON encode/decode + validate than pydantic - 5-50x faster to create/compare/order than attrs/dataclasses or pydantic.
I wrote typedload, which is significantly faster than pydantic. Just uses normal dataclasses/attrs/NamedTuple, has a better API and is pure Python!