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-2.0.2.tar.gz
(3.8 kB
view hashes)
Built Distribution
Close
Hashes for aett_inmemory-2.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 12436a9ea15d08e2dbf98cfe4acccb027b3c005ae8d80a8b45cbbe8a6abd9dd5 |
|
MD5 | c7409f59ba6e02ccd1d05d1916c154cc |
|
BLAKE2b-256 | 83787f2d86e2056c4279cd48d39ceeee95dfe9cf0b9d867ab7771cf6cb62af35 |