Skip to main content

airprompter-datastore-postgres

The AirPrompter release datastore over one PostgreSQL table: a KvStore for kv_release_datastore (airprompter-agent-sync). The puller writes sealed releases through it; every runtime hydrates from it (docs/datastore.md). The table is the one @airprompter/datastore-postgres uses, so Python and TypeScript share it.

import psycopg
from airprompter_agent import kv_release_datastore
from airprompter_datastore_postgres import postgres_kv_store

kv = postgres_kv_store(connection=psycopg.connect(os.environ["DATABASE_URL"], autocommit=True))
kv.ensure_schema()   # or postgres_kv_schema() in your migrations
releases = kv_release_datastore(kv)
  • connection= a DB-API connection (psycopg 3 or psycopg2; operations take turns on it) or pool= a psycopg_pool.ConnectionPool.
  • INSERT … ON CONFLICT DO NOTHING and UPDATE … WHERE version = %s: no transaction or lock is ever held across calls. Postgres 11+.
  • Prove it against your database: check_kv_store(kv) → KvStoreReport(ok, passed, failures).

Metadata

Release files for airprompter-datastore-postgres 0.5.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 airprompter-datastore-postgres 0.5.0
File Size Uploaded
airprompter_datastore_postgres-0.5.0.tar.gz 4.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for airprompter-datastore-postgres 0.5.0
File Interpreter ABI Platform
airprompter_datastore_postgres-0.5.0-py3-none-any.whl Python 3 none any Details

Total release size: 10.0 kB

Release files / airprompter_datastore_postgres-0.5.0.tar.gz

Download URL airprompter_datastore_postgres-0.5.0.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
54d0315fd040377bfd0f384278919b7f3b9bff91cebb80f00ae01f00cb9f8b09
BLAKE2b-256 checksum
How to use checksums
93b9aecda6f5c8b6c9d6e0f659a8f1132ec1bad6b9740b7c17cf62cbba24eecf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 7, 2026.

Transparency log

Release files / airprompter_datastore_postgres-0.5.0-py3-none-any.whl

Download URL airprompter_datastore_postgres-0.5.0-py3-none-any.whl
Size 5.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3725b37c0d63a7813c586a4deff2d2bd69b82e229b2bfcf1e6915953eb6dfdbc
BLAKE2b-256 checksum
How to use checksums
a4b23ab88631cf7b1612ab0a05d766ecaf0c9c54cd0898667f4cc0345bdd5626
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 7, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.5.0 This release

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.0

2 release files

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