Our great sponsors
-
msgspec
A fast serialization and validation library, with builtin support for JSON, MessagePack, YAML, and TOML
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
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?