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.4.1

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.4.1
File Size Uploaded
airprompter_datastore_postgres-0.4.1.tar.gz 4.6 kB Details

Built distribution (wheel)

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

Total release size: 10.0 kB

Release files / airprompter_datastore_postgres-0.4.1.tar.gz

Download URL airprompter_datastore_postgres-0.4.1.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
afc8e7e7241a5b47a81b60e2130181d63ed265baab72dce18006dda3b83d19bc
BLAKE2b-256 checksum
How to use checksums
9eb2f5e7efc51f517d516b9dc5a9c3d430e83dacb2185a56665edcc39f6334c3
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.4.1-py3-none-any.whl

Download URL airprompter_datastore_postgres-0.4.1-py3-none-any.whl
Size 5.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3f90535bb27aa14338fd1e2449f7df34ad1cbc58963276bc9e5cbc96aa57290a
BLAKE2b-256 checksum
How to use checksums
1170c9f8b643057cbaa456e572c5bd5d45ba3d6a120e661c8bec1f54907079af
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

0.5.0

2 release files

This release

0.4.1 This release

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