Current collected state Current
Observed since 20 Oct, 20:57 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
aett-mongodb
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.
| Package / target | Requirement | Relationship |
|---|---|---|
aett-domainEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.10",
"evaluation": "NOT_EVALUATED"
} | aett-domain>=2.1.0 | runtime |
pymongoEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.10",
"evaluation": "NOT_EVALUATED"
} | pymongo~=4.8.0 | runtime |
pip-toolsEnvironment{
"extras": "",
"marker": "extra == \"dev\"",
"requires_python": ">=3.10",
"evaluation": "NOT_EVALUATED"
} | pip-tools; extra == "dev" | runtime |
pytestEnvironment{
"extras": "",
"marker": "extra == \"dev\"",
"requires_python": ">=3.10",
"evaluation": "NOT_EVALUATED"
} | pytest; extra == "dev" | runtime |
behaveEnvironment{
"extras": "",
"marker": "extra == \"dev\"",
"requires_python": ">=3.10",
"evaluation": "NOT_EVALUATED"
} | behave; extra == "dev" | runtime |
bdist_wheel · 5.7 KB · Python py3
sdist · 5.17 KB · Python source
Observed since 20 Oct, 20:57 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:7e2ba53d08c10395a802aed02044add4ace227bb379a43cdc12c220bf0df56ca