S3 connector for aett event store
Project description
Æt (Aett) is an Event Store for Python
Aett S3 provides the ability to store and retrieve events from an S3 bucket.
Usage
To create an event stream to manage events, you will need to create a bucket, which will serve as the root storage.
The package also provides CommitStore
and SnapshotStore
classes that can be used to store and retrieve events. They
can be instantiated by providing a Postgres database connection and specifying the configured table name.
from aett.s3 import CommitStore, SnapshotStore, S3Config
from aett.eventstore import TopicMap
config = S3Config(bucket='test',
endpoint_url='http://localhost:9000',
use_tls=False,
aws_access_key_id='minioadmin',
aws_secret_access_key='minioadmin')
commit_store = CommitStore(s3_config=config, topic_map=TopicMap())
snapshot_store = SnapshotStore(s3_config=config)
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_s3-2.0.3.tar.gz
(5.2 kB
view details)
Built Distribution
File details
Details for the file aett_s3-2.0.3.tar.gz
.
File metadata
- Download URL: aett_s3-2.0.3.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97302d56a24b87a90cfa43a5e72a2938e61c6c7e2b379cf381b4f5f86ec3d12c |
|
MD5 | 905ec44e104c5066fa79a474379c435a |
|
BLAKE2b-256 | 5671ab4ce2c640ea88fa5dbe0ba81a6f2b27385451539bd61bf0ee121c2f1eda |
File details
Details for the file aett_s3-2.0.3-py3-none-any.whl
.
File metadata
- Download URL: aett_s3-2.0.3-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | afe9f2759982d3f24ecbd5d1b57e2dc80eae0edfe5fc5cf4be3b915e0467c12a |
|
MD5 | c461e805e31e004d80d376b6bab46d48 |
|
BLAKE2b-256 | 35c5a69ad34eff3edba9d411272d0f15ed5e645067acc0cc2b300793ac464c81 |