Skip to main content

S3 connector for aett event store

Project description

Æt (Aett) is an Event Store for Python

Downloads

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


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

Uploaded Source

Built Distribution

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

aett_s3-2.1.0-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for aett_s3-2.1.0.tar.gz
Algorithm Hash digest
SHA256 6d425156ca20be1afe302650d1ff1b1e3237e10cc81dee9c602e2affbeaba0e1
MD5 14200b8b3ca5ec73e33b80ffd6a6661a
BLAKE2b-256 29d895bfe0459c6c48ca0454ee1f6b46ebedc00f3085c2b83ac6324c9c1f6fb5

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for aett_s3-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9966462447e2d18fd528bed9aa6a1222ddac525924183846bcaf82931efed650
MD5 5db374101aa8d361258d0e1cf2136bed
BLAKE2b-256 aa9be6f92f66b1dd12f7bb0ae021dce405fe489ea99d1fe556888d632ca2aa2a

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