Starlite updates March '22 | 2.0 is coming

This page summarizes the projects mentioned and recommended in the original post on /r/Python

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.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • starlite

    Discontinued Light, Flexible and Extensible ASGI API framework | Effortlessly Build Performant APIs [Moved to: https://github.com/litestar-org/litestar]

  • #1286 is the issue tracking the removal of our last internal Pydantic datastructure, and PR #1382 has the addition of attrs based signature modelling. Once those are merged you will be able to use Starlite without Pydantic.

  • SQLAlchemy

    The Database Toolkit for Python

  • This feature is yet to be released, but it will allow you to seamlessly use data modelled with for example Pydantic, SQLAlchemy, msgspec or dataclasses in your route handlers, without the need for an intermediary model; The conversion will be handled by the specific DTO "backend" implementation. This new paradigm also makes it trivial to add support for any such modelling library, by simply implementing an appropriate backend.

  • 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.

    InfluxDB logo
  • RabbitMQ

    Open source RabbitMQ: core server and tier 1 (built-in) plugins

  • Starting with the first alpha release - 2.0.0alpha1 -, Starlite includes a simple event bus that can be used to emit and receive events, supporting both synchronous and asynchronous listeners. Currently only a basic in-memory, per-process backend is included, but future versions will add support for inter-process communication by adding backends for Redis, RabbitMQ and others.

  • attrs

    Python Classes Without Boilerplate

  • Pydantic is by far not the only library of its kind, with prominent members of the same class being attrs, cattrs or even plain dataclasses for some use cases.

  • Redis

    Redis is an in-memory database that persists on disk. The data model is key-value, but many different kind of values are supported: Strings, Lists, Sets, Sorted Sets, Hashes, Streams, HyperLogLogs, Bitmaps.

  • Starting with the first alpha release - 2.0.0alpha1 -, Starlite includes a simple event bus that can be used to emit and receive events, supporting both synchronous and asynchronous listeners. Currently only a basic in-memory, per-process backend is included, but future versions will add support for inter-process communication by adding backends for Redis, RabbitMQ and others.

  • msgspec

    A fast serialization and validation library, with builtin support for JSON, MessagePack, YAML, and TOML

  • This feature is yet to be released, but it will allow you to seamlessly use data modelled with for example Pydantic, SQLAlchemy, msgspec or dataclasses in your route handlers, without the need for an intermediary model; The conversion will be handled by the specific DTO "backend" implementation. This new paradigm also makes it trivial to add support for any such modelling library, by simply implementing an appropriate backend.

  • cattrs

    Composable custom class converters for attrs.

  • Pydantic is by far not the only library of its kind, with prominent members of the same class being attrs, cattrs or even plain dataclasses for some use cases.

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • litestar-fullstack

    Litestar Fullstack Reference Application with Vue, Vite, and SQLAlchemy, Docker, Task Queues, and more! (by cofin)

  • starlite-saqlalchemy

    Discontinued Starlite API boilerplate abstraction and utilities.

  • starlite-pg-redis-docker

    Discontinued Example Litestar project using Postgresql, Redis and Docker [Moved to: https://github.com/litestar-org/litestar-pg-redis-docker]

  • starlette

    The little ASGI framework that shines. 🌟

  • Perhaps you are thinking about Starlette, the toolkit Starlite was originally based on? But Starlette as well won't have an influence on FastAPI's Pydantic dependencies, since Starlette never dependent on Pydantic in the first place.

  • ruff

    An extremely fast Python linter and code formatter, written in Rust.

  • While I'll gladly accept the compliment, if there was an award for "top quality Python package with a high velocity", I'd give it to Ruff!

  • valio

    Pluggable validation library that supports dataclasses, async validation, async tasks, validation extension, regex validation, dynamic documentation and much more.

  • I would like to say have a look at valio, its a small library specifically made to use it with dataclasses. I am using it with my other library on native frontend development via python that am soon going to publish :)

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Litestar 2.0

    4 projects | /r/Python | 29 Aug 2023
  • Show HN: Mutuple – Replace items in Python's "immutable" tuples

    2 projects | news.ycombinator.com | 10 Apr 2024
  • Help making draggable items for Flask app.

    1 project | /r/flask | 21 Aug 2023
  • Blake2Signer: simple and straightforward library to securely sign data using BLAKE

    2 projects | /r/Python | 11 Apr 2023
  • Data Classification: Does Python still have a need for class without dataclass?

    2 projects | news.ycombinator.com | 14 Feb 2023