OOP Event Sourcing package
Project description
OOP ES - OOP Event sourcing
WARNING
Not yet finished
What is this
Just another implementation of event sourcing in Python. For now, it can handle commands, emit/save events, manage read models.
Installation
pip install oop-es
Postgres adapter
Use pip install oop-es[pg] instead. Use this script to init the tables.
You can rename the events or use a custom schema, just pass the table name during the PostgresEventStore
initialization.
Usage
Check the example folder
TODO
- add Projector into the example to illustrate how do views (read-models) work
- snapshotting
- upcasting
- better docs
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file oop_es-0.1.2.tar.gz.
File metadata
- Download URL: oop_es-0.1.2.tar.gz
- Upload date:
- Size: 9.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
958188c9b65ea3cd7650927b314cb424097e03df9e6a1de2de3847dc7bb4c9d2
|
|
| MD5 |
9de92e73d7fd6fcbfd85f9702045ce41
|
|
| BLAKE2b-256 |
9993b8382ca696237e6bf623e937ba3ad425494eb25c6ff873890667e049980f
|
File details
Details for the file oop_es-0.1.2-py3-none-any.whl.
File metadata
- Download URL: oop_es-0.1.2-py3-none-any.whl
- Upload date:
- Size: 9.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
689686549911ce5a0e93ed91983a546b8754141dcb511ed4751e05151a98136f
|
|
| MD5 |
e9949d5e7caee2fa337dfde3db38e7ed
|
|
| BLAKE2b-256 |
7948bade44eea6471c7e048bdea01d5fe70b48384852651199371784f08b9c2a
|