Our great sponsors
-
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.
-
litestar-fullstack
Litestar Fullstack Reference Application with React, Vite, SQLAlchemy, Docker, Task Queues, and more!
-
msgspec
A fast serialization and validation library, with builtin support for JSON, MessagePack, YAML, and TOML
Full support for validation and serialisation of attrs classes and msgspec Structs. Where previously only Pydantic models and types where supported, you can now mix and match any of these three libraries. In addition to this, adding support for another modelling library has been greatly simplified with the new plugin architecture
As we began venturing down that road, a few things emerged that would constitute significant changes to some of the core parts of Litestar, but there were two things in particular that started a chain reaction of changes by opening up further possibilities: The new DTOs and our switch from orjson to msgspec.
Cody Fincher for the impressive litestar-fullstack repository and sharing his wisdom and knowledge about databases and SQLAlchemy with us, the SQLAlchemy repositories and being a constant source of new ideas
Full support for validation and serialisation of attrs classes and msgspec Structs. Where previously only Pydantic models and types where supported, you can now mix and match any of these three libraries. In addition to this, adding support for another modelling library has been greatly simplified with the new plugin architecture
Related posts
- Show HN: Mutuple – Replace items in Python's "immutable" tuples
- Starlite updates March '22 | 2.0 is coming
- For fun, I created a library to serialize / deserialize any python object into JSON
- Writing Clean Code with FastAPI Dependency Injection
- pyserde: Serialization library on top of dataclasses, inspired by serde-rs