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

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

Built distribution (wheel)

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

Total release size: 10.8 kB

Release files / airprompter_datastore_postgres-1.0.0rc7.tar.gz

Download URL airprompter_datastore_postgres-1.0.0rc7.tar.gz
Size 4.9 kB
Tags Source
SHA-256 checksum
How to use checksums
2e25b31ab9bbb516e506ca3d0b56d5863f8c8c4b212371874fbced677d25b7cd
BLAKE2b-256 checksum
How to use checksums
b1006ce4a288fd6d36b144119dc4bcd5a1ad8a45dc9170da2a580f735b58414c
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.0rc7-py3-none-any.whl

Download URL airprompter_datastore_postgres-1.0.0rc7-py3-none-any.whl
Size 6.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7e20f9f2d3288e6f62f1fdf77d698f965e6dca28a31d7e04fe9987ad67abd286
BLAKE2b-256 checksum
How to use checksums
2d048b65f947011f583aa9d7ed879024eaa0979be19b1306f54ca9f57cea3963
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.0rc7

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.0rc7.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