Skip to main content

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 (%s placeholders + sql_params) — never string interpolation — to avoid SQL injection.

Metadata

Release files for neurocore-skill-postgres 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for neurocore-skill-postgres 0.1.0
File Size Uploaded
neurocore_skill_postgres-0.1.0.tar.gz 3.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for neurocore-skill-postgres 0.1.0
File Interpreter ABI Platform
neurocore_skill_postgres-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 7.0 kB

Release files / neurocore_skill_postgres-0.1.0.tar.gz

Download URL neurocore_skill_postgres-0.1.0.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
c51ea6f71c4d5ab5a259128b1191943d30eab6dcb9db5e1e525addd64c5653ec
BLAKE2b-256 checksum
How to use checksums
e8cf991e75f1532f2f878aa03b21d557c5dbc9b43c2ed4b5af49772bacf1ec16
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / neurocore_skill_postgres-0.1.0-py3-none-any.whl

Download URL neurocore_skill_postgres-0.1.0-py3-none-any.whl
Size 3.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
96eb99d3d77ab7592b31a44e50a9b131fc82454058179d5781fa28edaa362e3f
BLAKE2b-256 checksum
How to use checksums
53f74bde13a13ef6b60f7f35acac2c58c38519efce986718445963a59affc73e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

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