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.0rc6" "airprompter-datastore-postgres==1.0.0rc6" "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.0rc6

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

Built distribution (wheel)

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

Total release size: 10.8 kB

Release files / airprompter_datastore_postgres-1.0.0rc6.tar.gz

Download URL airprompter_datastore_postgres-1.0.0rc6.tar.gz
Size 4.9 kB
Tags Source
SHA-256 checksum
How to use checksums
0244307c2732254aa7f2622971610f493327dfe19048ad19097daa5648a3c509
BLAKE2b-256 checksum
How to use checksums
4f369231cd86f6687ca25537a51785903e68690a963334affaf5879d0f413304
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 Nov 30, 2026.

Transparency log

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

Download URL airprompter_datastore_postgres-1.0.0rc6-py3-none-any.whl
Size 6.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
184f7ac9de647a4dd6e1721507276cd96aa6643182c3c09ea0ee2e6061e527c6
BLAKE2b-256 checksum
How to use checksums
90fc78dda2203bb1b2ab0eb65dd694ad916412cf86f4b6e570d3966bb62799bb
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 Nov 30, 2026.

Transparency log

Security for airprompter-datastore-postgres 1.0.0rc6

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.0rc6.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 Nov 30, 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