Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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.

Install

pip install "airprompter-agent==1.0.0rc8" "airprompter-datastore-postgres==1.0.0rc8" "psycopg[binary]"

It depends on airprompter-agent (exactly this version on a release candidate, this version or later within the major from 1.0.0), so one copy resolves.

This is a release candidate for 1.0.0. Pin it exactly, as above: unpinned, pip takes the 0.x line, and --pre opens prereleases on every dependency.

Use

import psycopg
from airprompter_agent.sync 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 1.0.0rc8

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 1.0.0rc8
File Size Uploaded Provenance Actions
airprompter_datastore_postgres-1.0.0rc8.tar.gz 4.9 kB With provenance Details for airprompter_datastore_postgres-1.0.0rc8.tar.gz

Built distribution (wheel)

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

Total release size: 10.8 kB

Release files / airprompter_datastore_postgres-1.0.0rc8.tar.gz

Download URL airprompter_datastore_postgres-1.0.0rc8.tar.gz
Size 4.9 kB
Tags Source
SHA-256 checksum
How to use checksums
6ead7e9ec6cf0eb80ad8f4ebcc86ace724285717225b518e601d71ce7c7fe978
BLAKE2b-256 checksum
How to use checksums
0dc7c57d05f3a3863f9e960d1e73424e5f24ae4177dc32b7d1e6144fd60fd811
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Dec 1, 2026.

Transparency log

Release files / airprompter_datastore_postgres-1.0.0rc8-py3-none-any.whl

Download URL airprompter_datastore_postgres-1.0.0rc8-py3-none-any.whl
Size 6.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
81d5fc102d8fa8b83e446fce0eec9ccece3fca03481e1ee726d9bb245375161d
BLAKE2b-256 checksum
How to use checksums
2b2351eb8f018fa3c10d9dbd17890c1d56970d2e7fd9652b723a762dc7509166
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Dec 1, 2026.

Transparency log

Security for airprompter-datastore-postgres 1.0.0rc8

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for airprompter_datastore_postgres-1.0.0rc8.tar.gz

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 Dec 1, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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