Current collected state Current
Observed since 20 Oct, 20:57 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
MongoDB connector for aett event store
Aett Mongo provides the ability to store and retrieve events from a MongoDB collection.
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'))
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 2.1.0 | 23 Nov 2024 | 5 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 20:57 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:03e9f1a4ae896166fd1b0a90ef4008b999931f87a921ccd8e7f1dce2ee8c4d4f