Peewee ORM + CockroachDB
Blog post from Cockroach Labs
Peewee ORM, a lightweight and intuitive Python Object-Relational Mapping tool, has been updated to support CockroachDB, a distributed and horizontally-scalable SQL database. This new compatibility allows developers to easily configure a CockroachDatabase instance and leverage its SQL API, which is similar to Postgres, including features like jsonb and arrays. Peewee's integration with CockroachDB also supports client-side transaction retries through a helper method, enabling seamless execution of transactional SQL statements with automatic retries until a transaction is successfully committed. The update aims to simplify the use of distributed databases, making it more accessible for developers to scale their applications with minimal effort.