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 Distribution

aett_eventstore-2.0.3.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

aett_eventstore-2.0.3-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file aett_eventstore-2.0.3.tar.gz.

File metadata

  • Download URL: aett_eventstore-2.0.3.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.6

File hashes

Hashes for aett_eventstore-2.0.3.tar.gz
Algorithm Hash digest
SHA256 5788f936b74f5e526623b9a5318345f4fef94d1bec16655b6c869567f1923604
MD5 2f2a13620eae77868a8bac6a9945933e
BLAKE2b-256 92b5177c35610891c2f5a65cc233de42a8352a7693e0073e37183ba92e7b95a5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aett_eventstore-2.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4855accc6af55898574a0430b97277a038bc9f3a2ebf22b154c1bb2e799f3824
MD5 185eb038913073fbac6ad95238199370
BLAKE2b-256 de4c1f7beed44cb0f7167c895185405c7a22d01c4cf48598e6bef9d40f2cee17

See more details on using hashes here.

Supported by

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