Metadata-Version: 2.1
Name: depeche-db
Version: 0.4.3
Summary: A library for building event-based systems on top of PostgreSQL
Home-page: https://github.com/depeche-py/depeche-db
License: MIT
Keywords: sqlalchemy,postgresql,event-driven,event store,message store
Author: Martin Vielsmaier
Author-email: martin@vielsmaier.net
Requires-Python: >=3.9,<4.0
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Topic :: Database
Classifier: Topic :: Software Development :: Libraries
Requires-Dist: pals (>=0.3.5,<0.4.0)
Requires-Dist: psycopg2 (>=2.9.6,<3.0.0)
Requires-Dist: sqlalchemy (>=1.4.30)
Requires-Dist: sqlalchemy-utils (>=0.41.1,<0.42.0)
Project-URL: Documentation, https://depeche-py.github.io/depeche-db/
Project-URL: Repository, https://github.com/depeche-py/depeche-db
Description-Content-Type: text/markdown



<p align="center">
  <img src="https://depeche-py.github.io/depeche-db/assets/logo-bg.png" width="200" />
</p>

# Depeche DB

A library for building event-based systems on top of PostgreSQL

[![Tests](https://github.com/depeche-py/depeche-db/actions/workflows/tests.yml/badge.svg)](https://github.com/depeche-py/depeche-db/actions/workflows/tests.yml)
[![pypi](https://img.shields.io/pypi/v/depeche-db.svg)](https://pypi.python.org/pypi/depeche-db)
[![versions](https://img.shields.io/pypi/pyversions/depeche-db.svg)](https://github.com/depeche-py/depeche-db)
[![Docs](https://img.shields.io/badge/docs-here-green.svg)](https://depeche-py.github.io/depeche-db/)
[![license](https://img.shields.io/github/license/depeche-py/depeche-db.svg)](https://github.com/depeche-py/depeche-db/blob/main/LICENSE)

---

**Documentation**: [https://depeche-py.github.io/depeche-db/](https://depeche-py.github.io/depeche-db/)

**Source code**: [https://github.com/depeche-py/depeche-db](https://github.com/depeche-py/depeche-db)

---

Depeche DB is modern Python library for building event-based systems

Key features:

* Message store with optimistic concurrency control & strong ordering guarantees
* Subscriptions with "at least once" semantics
* No database polling

## Requirements

Python 3.9+

SQLAlchemy 1.4 or 2+

PostgreSQL 12+


## Installation

```bash
pip install depeche-db
# OR
poetry add depeche-db
```

## Example

```python
# coming soon
```


## Contribute

Contributions in the form of issues, questions, feedback and pull requests are
welcome. Before investing a lot of time, let me know what you are up to so
we can see if your contribution fits the vision of the project.

