-
msgspec
A fast serialization and validation library, with builtin support for JSON, MessagePack, YAML, and TOML
-
Scout Monitoring
Free Django app performance insights with Scout Monitoring. Get Scout setup in minutes, and let us sweat the small stuff. A couple lines in settings.py is all you need to start monitoring your apps. Sign up for our free tier today.
I wrote this for speeding up the RPC messaging in dask, but figured it might be useful for others as well. The source is available on github here: https://github.com/jcrist/msgspec.
It's the serialization library I've always wanted for Python - some of the developer ergonomics of Pydantic (type checking, mypy/pyright integration, rich typing support), but without any of the performance costs.
Encode messages as JSON or MessagePack.
I wrote this for speeding up the RPC messaging in dask, but figured it might be useful for others as well. The source is available on github here: https://github.com/jcrist/msgspec.
Related posts
-
How to take inputs from an ascii file in Python
-
pydantic VS marshmallow - a user suggested alternative
2 projects | 21 Sep 2022 -
utype VS pydantic - a user suggested alternative
2 projects | 15 Feb 2024 -
Ask HN: Will we see a TypeScript for Python?
-
How do you manage typing between Django backend and a TypeScript frontend?