PostgreSQL query skill for NeuroCore
Project description
neurocore-skill-postgres
Run parameterized SQL against PostgreSQL from a NeuroCore flow (psycopg 3).
pip install neurocore-skill-postgres
export DATABASE_URL=postgresql://user:pass@localhost/db
components:
- name: query
type: postgres
config:
sql: "SELECT id, name FROM users WHERE active = %s"
flow:
type: sequential
steps:
- component: query
Provide sql (and optional sql_params) via config or context. Results are
written to postgres_rows (a list of row dicts; empty list for non-SELECT
statements, which are committed).
Use parameterized queries (
%splaceholders +sql_params) — never string interpolation — to avoid SQL injection.
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 neurocore_skill_postgres-0.1.0.tar.gz.
File metadata
- Download URL: neurocore_skill_postgres-0.1.0.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c51ea6f71c4d5ab5a259128b1191943d30eab6dcb9db5e1e525addd64c5653ec
|
|
| MD5 |
deec734a4901c652a0e9ecbd04d15ccd
|
|
| BLAKE2b-256 |
e8cf991e75f1532f2f878aa03b21d557c5dbc9b43c2ed4b5af49772bacf1ec16
|
File details
Details for the file neurocore_skill_postgres-0.1.0-py3-none-any.whl.
File metadata
- Download URL: neurocore_skill_postgres-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
96eb99d3d77ab7592b31a44e50a9b131fc82454058179d5781fa28edaa362e3f
|
|
| MD5 |
d927bebc9ee0b6b184a181fff171a2be
|
|
| BLAKE2b-256 |
53f74bde13a13ef6b60f7f35acac2c58c38519efce986718445963a59affc73e
|