In-Memory persistence for aett event store
Project description
Æt (Aett) is an Event Store for Python
Aett In-Memory provides the ability to store and retrieve events from an in-memory storage. This module should not be used for production. It is intended only for testsing.
Usage
To create an event stream to manage events, you will need to create a bucket, which will serve as the root storage.
The package also provides CommitStore
and SnapshotStore
classes that can be used to store and retrieve events. They
can be instantiated by providing a Postgres database connection and specifying the configured table name.
from aett.inmemory import CommitStore, SnapshotStore
commit_store = CommitStore()
snapshot_store = SnapshotStore()
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
aett_inmemory-0.9.0.tar.gz
(3.9 kB
view hashes)
Built Distribution
Close
Hashes for aett_inmemory-0.9.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a1e3ab1420942499f5ebb3604a40070f7dfd47093e8bfddcd8aa7d5f4e04d17 |
|
MD5 | 264709a6394c299fa436448f56ad4df6 |
|
BLAKE2b-256 | fd9db5d8a42d8b44f7135cc4197bd6217ab738b413e4a0b67e53114499a122ab |