Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

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.

Files for event-store, version 1.0.1a9
Filename, size File type Python version Upload date Hashes
Filename, size event_store-1.0.1a9-py2-none-any.whl (13.8 kB) File type Wheel Python version py2 Upload date Hashes View
Filename, size (15.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page