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
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
File details
Details for the file aett_inmemory-2.0.3.tar.gz
.
File metadata
- Download URL: aett_inmemory-2.0.3.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9b183c72103715844b34a21d1c90622d54606e6df83607e6ae3b678f2664948 |
|
MD5 | fe659be51f94a8fc39d549de2f7d388e |
|
BLAKE2b-256 | bed94fa6bcee9954b0ecdf34888620f080c2842ff47b36e26ce12f58588c5e65 |
File details
Details for the file aett_inmemory-2.0.3-py3-none-any.whl
.
File metadata
- Download URL: aett_inmemory-2.0.3-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 268525dab23ef04a29d683ed6a4777544e97980f9a6c5f13bbe6c24a03fe420f |
|
MD5 | 1ec413933dd0cba04984ae08eed85564 |
|
BLAKE2b-256 | bada096f378502819fcaa4f4e36bb30262dad52f210fd69e32a8b7e9d594e972 |