Skip to content

logicblocks.event.store

Eventing infrastructure for event-sourced architectures.
Terminal window
pip install logicblocks-event-store

Streams, categories and the log

An append-only log of immutable events, grouped into categories of streams, with bi-temporal timestamps and arbitrary payloads and metadata.

Concurrency and write conditions

Optimistic concurrency through composable write conditions, retry decorators, and configurable write serialisation for consistent ordering.

Projections

Fold events into state with a projector, then save, load and search projections with a rich query language.

Asynchronous processing

Consume events in the background with an event broker, subscribers and consumer state, on one node or distributed across many.

In-memory and PostgreSQL storage

An in-memory adapter for tests and experiments, and a PostgreSQL adapter for production. Both are built on an adapter interface you can implement yourself.

Testing utilities

Builders and random data generators for events and projections, and static clocks for deterministic timestamps.