DynamoDB connector for aett event store
Project description
Æt (Aett) is an Event Store for Python
Aett DynamoDB provides the ability to store and retrieve events from a DynamoDB table.
Usage
To create an event stream to manage events, you can use the PersistenceManagement
class.
from aett.dynamodb.EventStore import PersistenceManagement
# Set up a new event store
mgmt = PersistenceManagement()
mgmt.initialize()
# Drop the store
mgmt.drop()
The package also provides CommitStore
and SnapshotStore
classes that can be used to store and retrieve events. They
can be instantiated by providing AWS credentials and specifying the configured table name and region. If localhost
is
set as region, then the stores assume a server running at http://localhost:8000
.
from aett.dynamodb.EventStore 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_dynamodb-2.0.3.tar.gz
.
File metadata
- Download URL: aett_dynamodb-2.0.3.tar.gz
- Upload date:
- Size: 6.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 973b61552686c1f2bf83c4c5b56d757356ac56ca7137d84cc45a66bab208d9e8 |
|
MD5 | a0c1d8ad019e2af9ba173f6f1bd5f27d |
|
BLAKE2b-256 | cf747c45729bbfb01e511536d467001780ea626ed09502ed7fff98b8ed2e17c7 |
File details
Details for the file aett_dynamodb-2.0.3-py3-none-any.whl
.
File metadata
- Download URL: aett_dynamodb-2.0.3-py3-none-any.whl
- Upload date:
- Size: 6.3 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 | eb8fa84b2bbeaa24d8bc10f8bcdf4411b90e5738478cc66463a4a13472a88e42 |
|
MD5 | 3b8969df19ed122ec7d74d9a494982ee |
|
BLAKE2b-256 | 32eb7f69151ae78588805af9682093d1b88f81d619eed24b174dad785d38c084 |