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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
57eb099550ed40123cefc1966df866067d90235fcd42188bf42b319ad637196c
|
|
| MD5 |
749f96df91b1df185cb80118029bc46f
|
|
| BLAKE2b-256 |
d9b2c8bed7df1c7f585913f046264ce89cc28702b4202d1ee1d7e6b8b27733ea
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
agentic_coop_db-0.3.1.tar.gz -
Subject digest:
57eb099550ed40123cefc1966df866067d90235fcd42188bf42b319ad637196c - Sigstore transparency entry: 1347855623
- Sigstore integration time:
-
Permalink:
fheinfling/Agentic-Coop-DB@d4a272e6502f91f36e47cb646bd39ddffe0c84a2 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/fheinfling
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@d4a272e6502f91f36e47cb646bd39ddffe0c84a2 -
Trigger Event:
workflow_dispatch
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b2eda47251e848a49d9ac519536d24608dde67a64be745b29cab377aa3ca6796
|
|
| MD5 |
4421b585dce14bb360974a6c4e408ad3
|
|
| BLAKE2b-256 |
5ac374d57c3f4001119995320a403646da21cf0b4a13f09f31715fcec03e117b
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
agentic_coop_db-0.3.1-py3-none-any.whl -
Subject digest:
b2eda47251e848a49d9ac519536d24608dde67a64be745b29cab377aa3ca6796 - Sigstore transparency entry: 1347855705
- Sigstore integration time:
-
Permalink:
fheinfling/Agentic-Coop-DB@d4a272e6502f91f36e47cb646bd39ddffe0c84a2 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/fheinfling
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@d4a272e6502f91f36e47cb646bd39ddffe0c84a2 -
Trigger Event:
workflow_dispatch
-
Statement type: