Event store for Python
Project description
Æt (Aett) is an Event Store for Python
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
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 Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aett_eventstore-2.1.0-py3-none-any.whl.
File metadata
- Download URL: aett_eventstore-2.1.0-py3-none-any.whl
- Upload date:
- Size: 13.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e86fb587816fdec6638b0b7b9df06158fcc1131a5047bf8cfc8a14b74667ca4c
|
|
| MD5 |
c5c4fe7359c6440f40edb71ff15f6a79
|
|
| BLAKE2b-256 |
2fc9cd3c940063f08a9f92accf083b6e7b51a7d39464696dd3a7f79c87cb51ac
|