Current collected state Current
Observed since 20 Oct, 20:57 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
aett-postgres
Postgres connector for aett event store
Aett Postgres provides the ability to store and retrieve events from a Postgres.
To create an event stream to manage events, you can use the PersistenceManagement class.
import psycopg
from aett.postgres.EventStore import PersistenceManagement
# Set up a new event store
mgmt = PersistenceManagement(psycopg.connect("host=localhost port=5432 dbname=aett user=aett password=aett"))
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 Postgres database connection and specifying the configured table name.
from aett.postgres.EventStore import CommitStore, SnapshotStore
import pymongo.database
snapshot_store = SnapshotStore(psycopg.connect("host=localhost port=5432 dbname=aett user=aett password=aett"))
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 |
psycopgEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.10",
"evaluation": "NOT_EVALUATED"
} | psycopg~=3.2.3 | runtime |
psycopg-binaryEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.10",
"evaluation": "NOT_EVALUATED"
} | psycopg-binary~=3.2.3 | 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.8 KB · Python py3
sdist · 6.04 KB · Python source
Observed since 20 Oct, 20:57 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:d3a7e68ea2d3df3095fb055914c3dd906eb3864ce6f412eb5bd5299160e9fb0a