Skip to main content

DynamoDB connector for aett event store

Project description

Æt (Aett) is an Event Store for Python

Downloads

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


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.1.0.tar.gz (6.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aett_dynamodb-2.1.0-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file aett_dynamodb-2.1.0.tar.gz.

File metadata

  • Download URL: aett_dynamodb-2.1.0.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.7

File hashes

Hashes for aett_dynamodb-2.1.0.tar.gz
Algorithm Hash digest
SHA256 7f49b2394628bb74a0c359744af404081c5597da705149550fe8dd516acac57c
MD5 60f01db2830267f9fb3ab9612d219e86
BLAKE2b-256 e56b9e33fb9803bc4227f90e2d702b233d671465eda0416dec32736f8aa559b8

See more details on using hashes here.

File details

Details for the file aett_dynamodb-2.1.0-py3-none-any.whl.

File metadata

  • Download URL: aett_dynamodb-2.1.0-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.7

File hashes

Hashes for aett_dynamodb-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5a5d91e20333d0d67d35b6cc232f438d3389e95cddfab6752c67ead10a6511c9
MD5 11d338a6b03ef3999fd9d1942d4320c3
BLAKE2b-256 023cefb84a9acb63a5e36756a73ee3549e7012fb12a81cd8481e13c21cf2dc2a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page