Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

aett-s3

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aett-s3

S3 connector for aett event store

  • 2.1.0
  • PyPI
  • Socket score

Maintainers
1

Æ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)

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc