Our great sponsors
-
starlite
Discontinued Light, Flexible and Extensible ASGI API framework | Effortlessly Build Performant APIs [Moved to: https://github.com/litestar-org/litestar]
The original imperative for creating Starlite was to create a community driven alternative to FastAPI. This was and remains a core pillar of Starlite- to have multiple maintainers and be as open, inviting and accessible for contributions as feasible. The project follows the all-contributors specification and we attribute all types of contribution - code, testing, refactoring, code reviews, documentation, design of the docs, writing and evangelizing etc.
-
msgspec
A fast serialization and validation library, with builtin support for JSON, MessagePack, YAML, and TOML
We use msgspec for serialization. This is way faster than the stdlib's json module. The most significant difference you're seeing is dataclasses. The reason there is that msgspec natively supports dataclasses, while the json module does not.
-
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.
-
Since version v1.39.0 Starlite (released on the 12.11.22) no longer has any dependency on Starlette. Between this version and v1.45.0 that was released today (11.12.22), we have invested significant effort into benchmarking and optimizing code. One of our maintainers, @provinzkraut (Janek Nouvertné), has done amazing work rewriting our benchmarking framework. You can read more about this in here and run the benchmarks on your own by cloning the benchmark repository. The results are pretty impressive if I may say so myself:
Related posts
- pyserde: Serialization library on top of dataclasses, inspired by serde-rs
- Need help developing a high performance Redis ORM for Python
- Pyserde: Serialization library on top of dataclasses, inspired by serde-rs
- Blog post: Writing Python like it’s Rust
- Show HN: Msgspec, a fast serialization/validation library for Python