This release is a pre-release and may not be stable for production use.
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.
Release files for event-store 1.0.1a9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| event-store-1.0.1a9.zip | 15.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| event_store-1.0.1a9-py2-none-any.whl | Python 2 | none | any | Details |
Total release size: 29.7 kB
Release files / event-store-1.0.1a9.zip
| Download URL | event-store-1.0.1a9.zip |
|---|---|
| Size | 15.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
156d9df8b8f99b2d9e1970431c145ee68c35e83acb3c879147e7f4ccd8fd7b48
|
|
BLAKE2b-256 checksum How to use checksums |
fdf157b2f4d2bf24f96a82f8ae3dcbb249114837b74c079308edb392777f0951
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / event_store-1.0.1a9-py2-none-any.whl
| Download URL | event_store-1.0.1a9-py2-none-any.whl |
|---|---|
| Size | 13.8 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
88d19702d8147ae76432126221bb06d1ea44ed2639b4aace6d921a556227cac5
|
|
BLAKE2b-256 checksum How to use checksums |
d2c5cdde3d4283bc7eb6a709d5ed167b07ddb0d233366dae45a5303e796de805
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |