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 example see tests/test_event_store.py.
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.
The implementation is minimalistic, but pull requests are welcome. Please file an issue with an approriate 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.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|
Hashes for event_store-1.0.1a8-py2-none-any.whl