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.19
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| gaard_connectors-0.2.19.tar.gz | 22.3 kB | With provenance | Details for gaard_connectors-0.2.19.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gaard_connectors-0.2.19-py3-none-any.whl | Python 3 | none | any | Details for gaard_connectors-0.2.19-py3-none-any.whl |
Total release size: 43.4 kB
Release files / gaard_connectors-0.2.19.tar.gz
| Download URL | gaard_connectors-0.2.19.tar.gz |
|---|---|
| Size | 22.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6905da4b1eafc5a1a88b98aa49ddee79d49129ccf6867e5b063794e7c5329125
|
|
BLAKE2b-256 checksum How to use checksums |
c07c1925f65446e51987378fdc234f89b33b941b4f5a1cc547b3ef14ec1c3cda
|
| 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 19, 2026.
Transparency logRelease files / gaard_connectors-0.2.19-py3-none-any.whl
| Download URL | gaard_connectors-0.2.19-py3-none-any.whl |
|---|---|
| Size | 21.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
eaae341d9482af7be4cfdbe1bc6d0b9ff956e9e6f4e0c3d12e12e5f36b1dca48
|
|
BLAKE2b-256 checksum How to use checksums |
98a6e87bae3a2134e6dfdf7d712e038615ba7a403e52f74eba0f68f8bc88a580
|
| 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 19, 2026.
Transparency logSecurity for gaard-connectors 0.2.19
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.
Attestation for gaard_connectors-0.2.19.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 19, 2026.
Transparency logA 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.