Skip to main content

Event store for Python

Project description

Æt (Aett) is an Event Store for Python

Downloads

Provides a framework for managing event streams.

Usage

To create an event stream to manage events, you can use the EventStream class.

from aett.eventstore.EventStream import EventStream

# Create a new event stream
event_stream = EventStream.create('bucket_name', 'stream_name')

# Append an event to the stream
event_stream.add(SomeEvent())

# Load the event stream from the event store
event_stream = EventStream.load('bucket_name', 'stream_name', [A commit store instance], 0, 100)

The example above is high level and does not include the details of the commit store. The commit store is a class that implements the CommitStore interface and is used to store and retrieve events from the event store. An implementation is provided in the aett.dynamodb.EventStore module.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

aett_eventstore-2.1.0-py3-none-any.whl (13.0 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for aett_eventstore-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e86fb587816fdec6638b0b7b9df06158fcc1131a5047bf8cfc8a14b74667ca4c
MD5 c5c4fe7359c6440f40edb71ff15f6a79
BLAKE2b-256 2fc9cd3c940063f08a9f92accf083b6e7b51a7d39464696dd3a7f79c87cb51ac

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