Skip to main content

Auth gateway client for shared PostgreSQL — sends parameterised SQL over HTTPS.

Project description

agentcoopdb (Python client)

A thin Python client for Agentic Coop DB, the auth gateway for shared PostgreSQL.

from agentcoopdb import connect

db = connect("https://db.example.com", api_key="acd_live_...")
db.execute(
    "INSERT INTO notes(id, body) VALUES ($1, $2)",
    ["b9c3...", "hi"],
)
rows = db.select("SELECT * FROM notes WHERE owner = $1", ["alice"])

Install

pip install agentic-coop-db

Or install directly from GitHub (the Python client lives in a subdirectory):

pip install "agentic-coop-db @ git+https://github.com/fheinfling/agentic-coop-db.git#subdirectory=clients/python"

CLI

agentic-coop-db init                  # interactive onboarding wizard
agentic-coop-db me
agentic-coop-db sql "SELECT 1"
agentic-coop-db queue flush
agentic-coop-db doctor

See the main repo for the full docs.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agentic_coop_db-0.3.1.tar.gz (18.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agentic_coop_db-0.3.1-py3-none-any.whl (20.3 kB view details)

Uploaded Python 3

File details

Details for the file agentic_coop_db-0.3.1.tar.gz.

File metadata

  • Download URL: agentic_coop_db-0.3.1.tar.gz
  • Upload date:
  • Size: 18.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for agentic_coop_db-0.3.1.tar.gz
Algorithm Hash digest
SHA256 57eb099550ed40123cefc1966df866067d90235fcd42188bf42b319ad637196c
MD5 749f96df91b1df185cb80118029bc46f
BLAKE2b-256 d9b2c8bed7df1c7f585913f046264ce89cc28702b4202d1ee1d7e6b8b27733ea

See more details on using hashes here.

Provenance

The following attestation bundles were made for agentic_coop_db-0.3.1.tar.gz:

Publisher: publish-pypi.yml on fheinfling/Agentic-Coop-DB

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file agentic_coop_db-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: agentic_coop_db-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 20.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for agentic_coop_db-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b2eda47251e848a49d9ac519536d24608dde67a64be745b29cab377aa3ca6796
MD5 4421b585dce14bb360974a6c4e408ad3
BLAKE2b-256 5ac374d57c3f4001119995320a403646da21cf0b4a13f09f31715fcec03e117b

See more details on using hashes here.

Provenance

The following attestation bundles were made for agentic_coop_db-0.3.1-py3-none-any.whl:

Publisher: publish-pypi.yml on fheinfling/Agentic-Coop-DB

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page