Skip to main content

In-Memory persistence for aett event store

Project description

Æt (Aett) is an Event Store for Python

Downloads

Aett In-Memory provides the ability to store and retrieve events from an in-memory storage. This module should not be used for production. It is intended only for testsing.

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.inmemory import CommitStore, SnapshotStore

commit_store = CommitStore()
snapshot_store = SnapshotStore()

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_inmemory-2.1.0.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

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

aett_inmemory-2.1.0-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for aett_inmemory-2.1.0.tar.gz
Algorithm Hash digest
SHA256 85036d97cb3e5d937476c271faf176008c0f3a25fab050a1422d4c564886e7fe
MD5 76c8e082dc1403a560c7e6ac122db12c
BLAKE2b-256 3a15a9f471d1410203582efbecf50bf0610f886e71ddbe9534ce1c84700f9036

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aett_inmemory-2.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.7

File hashes

Hashes for aett_inmemory-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 26f18bbe959d129da2e852bea497332f28d02b2e68120e931784d756c3fae512
MD5 708dbaf9e0e3aeb295b07c76cfbf4522
BLAKE2b-256 1bf49899063455ce299c2bfbf726efca7ff09bb87718d2b93277e9a5f70b0f91

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