Event Store implemented in Python
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.
- 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).
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.
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|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 event-store-1.0.1a9.zip (15.8 kB)||File type Source||Python version None||Upload date||Hashes View|
Hashes for event_store-1.0.1a9-py2-none-any.whl