Skip to main content

Æt (Aett) is an Event Store for Python

Downloads

Aett Mongo provides the ability to store and retrieve events from a MongoDB collection.

Usage

To create an event stream to manage events, you can use the PersistenceManagement class.

import pymongo.database
from aett.mongodb.EventStore import PersistenceManagement

# Set up a new event store
mgmt = PersistenceManagement(pymongo.database.Database(pymongo.MongoClient('mongodb://localhost:27017/'), 'test'))
mgmt.initialize()

# Drop the store
mgmt.drop()

The package also provides CommitStore and SnapshotStore classes that can be used to store and retrieve events. They can be instantiated by providing a MongoDB database connection and specifying the configured table name.

from aett.mongodb.EventStore import CommitStore, SnapshotStore
import pymongo.database

snapshot_store = SnapshotStore(pymongo.database.Database(pymongo.MongoClient('mongodb://localhost:27017/'), 'test'))

Metadata

Release files for aett-mongodb 2.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aett-mongodb 2.1.0
File Size Uploaded Provenance
aett_mongodb-2.1.0.tar.gz 5.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for aett-mongodb 2.1.0
File Interpreter ABI Platform
aett_mongodb-2.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 11.1 kB

Release files / aett_mongodb-2.1.0.tar.gz

Download URL aett_mongodb-2.1.0.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
baa324a2dbb8b32450be51d68125fe9f1ee30153c00fdeee5e468c4fb6963e67
BLAKE2b-256 checksum
How to use checksums
b1a99a75bef2fe4da230005c25b5f6a8551d719df2fb5872e000b04b8c41eeea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.7

Release files / aett_mongodb-2.1.0-py3-none-any.whl

Download URL aett_mongodb-2.1.0-py3-none-any.whl
Size 5.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6ff71f65d335cbae760f7aede6eda67a3197d35c03a7bf383140969a87bf97e9
BLAKE2b-256 checksum
How to use checksums
5fd841cbc8f30b5833485b95676d1610b31f60dc027c5e8c36fdfdadf3c0b50c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.7

Security for aett-mongodb 2.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page