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.

Installation

  1. To create tables, run infrastructure/scripts/main.py 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 main.py).
  2. For usage example see tests/test_event_store.py.

Functionality

Currently a Sql backend is provided with simple Pickle serialization.

Why It Exists

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

Contributing

The implementation is minimalistic, but pull requests are welcome. Please file an issue with an approriate 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.1a8
Filename, size File type Python version Upload date Hashes
Filename, size event_store-1.0.1a8-py2-none-any.whl (12.7 kB) File type Wheel Python version py2 Upload date Hashes View
Filename, size event-store-1.0.1a8.zip (14.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page