Skip to main content

Event Store implemented in Python

Project description

Event Store

Event Store is an implementation of the Events as a Storage Mechanism concept (PDF here). It is an implementation of the actual storage for events. The implementation follows the excellent article by Greg Young: Building an Event Storage. (PDF Here). Reading the linked articles should provide sufficient understanding of the code.


  1. To create tables, run infrastructure/scripts/ with an option –database create. This naively assumes that your sql engine is postgresql, and is located at postgresql://postgres:test@localhost:5432, and you have created a database named event_store. (You can change this in


For usage examples see sample project Registration List


Currently a Sql backend is provided with simple Pickle serialization. Also, an In Memory implementation is present for simply testing events out.

Why It Exists

There didn’t seem to be any python native event storage implementations.


The implementation is minimalistic, but pull requests are welcome. Please file an issue with an appropriate pull request.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
event_store-1.0.1a9-py2-none-any.whl (13.8 kB) Copy SHA256 hash SHA256 Wheel py2 (15.8 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page