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-2.0.3.tar.gz
(6.6 kB
view hashes)
Built Distribution
Close
Hashes for aett_dynamodb-2.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb8fa84b2bbeaa24d8bc10f8bcdf4411b90e5738478cc66463a4a13472a88e42 |
|
MD5 | 3b8969df19ed122ec7d74d9a494982ee |
|
BLAKE2b-256 | 32eb7f69151ae78588805af9682093d1b88f81d619eed24b174dad785d38c084 |