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
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).
Examples
For usage examples see sample project Registration List
Functionality
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.
Contributing
The implementation is minimalistic, but pull requests are welcome. Please file an issue with an appropriate pull request.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for event_store-1.0.1a9-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88d19702d8147ae76432126221bb06d1ea44ed2639b4aace6d921a556227cac5 |
|
MD5 | 75f34364facb6a0e68d1b7ad9b6ceec3 |
|
BLAKE2b-256 | d2c5cdde3d4283bc7eb6a709d5ed167b07ddb0d233366dae45a5303e796de805 |