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
aett-dynamodb-0.3.0.tar.gz
(2.7 kB
view hashes)
Built Distribution
Close
Hashes for aett_dynamodb-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e99a4e7f9145edb54cba36c4dce299a201c03e7beaea01c8d4c7bab99ca01293 |
|
MD5 | 28d9addbe0336cb7746d438cbda58b4b |
|
BLAKE2b-256 | 757ce968065121b0742a68da6f2992f6c955a35ce1f65c3b7877e43230763bb4 |