Skip to main content

GAARD - Governed AI Access to Relational Data

GAARD is a self-hosted AI SQL Gateway for governed natural-language access to relational data.

GAARD allows applications and users to ask questions about relational databases using natural language while keeping SQL generation, validation, execution, prompts, connectors, and auditability under control.

For more informacion see https://github.com/pkroliszewski/gaard

This package

Package gaard-connectors extends gaard functionality by adding support for various database connection schemes.

Built-in SQLAlchemy datasource types include SQLite, PostgreSQL, MySQL, Oracle Database, Microsoft SQL Server, IBM Db2, Teradata, and ODBC / unixODBC. Install the matching optional dependency extra for drivers that are not part of the default package.

ODBC / unixODBC

The odbc datasource type connects through the existing GAARD SQLAlchemy pipeline:

GAARD -> SQLAlchemy dialect -> pyodbc -> unixODBC -> vendor ODBC driver -> database

ODBC is not a SQL dialect. Configure the real SQLAlchemy driver name, for example mssql+pyodbc, and the unixODBC driver or DSN separately.

Python dependency:

python -m pip install 'gaard-connectors[odbc]'

System dependency on Oracle Linux 8/9:

dnf install -y unixODBC unixODBC-devel

Vendor dependency: install the ODBC driver for the selected database according to the vendor license and instructions.

Useful diagnostics:

odbcinst -j
odbcinst -q -d
python -c "import pyodbc; print(pyodbc.drivers())"

DSN mode uses a DSN already configured in odbc.ini:

connection_mode=dsn
sqlalchemy_drivername=mssql+pyodbc
dsn=hospital_reporting
username=gaard_reader
password=...

DSN-less mode sends the connection attributes directly through odbc_connect:

connection_mode=dsnless
sqlalchemy_drivername=mssql+pyodbc
odbc_driver=ODBC Driver 18 for SQL Server
host=sql01.internal
port=1433
database=ERP
username=gaard_reader
password=...
Encrypt=yes
TrustServerCertificate=yes

For Docker or Podman, unixODBC, odbc.ini, odbcinst.ini, and the vendor driver library must be available inside the GAARD API container. Mounting only .ini files is not enough if the referenced shared library is missing.

When the ODBC setup lives on a different machine than GAARD, prefer DSN-less configuration against the remote database host or run the GAARD API/worker beside that unixODBC installation. A DSN name on a remote Unix host is not automatically visible to a local GAARD process because unixODBC is loaded in-process by pyodbc.

Metadata

Release files for gaard-connectors 0.2.17

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

Source distribution (sdist)

Source distribution for gaard-connectors 0.2.17
File Size Uploaded Provenance Actions
gaard_connectors-0.2.17.tar.gz 21.2 kB With provenance Details for gaard_connectors-0.2.17.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for gaard-connectors 0.2.17
File Interpreter ABI Platform Actions
gaard_connectors-0.2.17-py3-none-any.whl Python 3 none any Details for gaard_connectors-0.2.17-py3-none-any.whl

Total release size: 42.0 kB

Release files / gaard_connectors-0.2.17.tar.gz

Download URL gaard_connectors-0.2.17.tar.gz
Size 21.2 kB
Tags Source
SHA-256 checksum
How to use checksums
675d9ed74b37a7c0568eaf41cc76e39b104d343bd3f677254822f29f355f365d
BLAKE2b-256 checksum
How to use checksums
f304e8c2a07414456be8570053343305e1e2bb50f1377f32f6a409b0fc9af1b4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 16, 2026.

Transparency log

Release files / gaard_connectors-0.2.17-py3-none-any.whl

Download URL gaard_connectors-0.2.17-py3-none-any.whl
Size 20.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
61cfb5c8c9761aa22ab1dc0787953dae4ba726aa9b28d5819176b12f372fa3a8
BLAKE2b-256 checksum
How to use checksums
2309463561e5a4733bc594b284f66f868dfe2fcca55a1b8041c3fb2c3f2638ab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 16, 2026.

Transparency log

Security for gaard-connectors 0.2.17

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

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for gaard_connectors-0.2.17.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 Sep 16, 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