Metadata-Version: 2.4
Name: ontologiq-postgres
Version: 0.1.0
Summary: PostgreSQL adapter for Ontologiq
Project-URL: Repository, https://github.com/ontologiq/ontologiq
License-Expression: Apache-2.0
Requires-Python: >=3.11
Requires-Dist: ontologiq>=0.2.0
Requires-Dist: psycopg[binary]>=3.1
Description-Content-Type: text/markdown

# ontologiq-postgres

PostgreSQL adapter for [Ontologiq](https://github.com/ontologiq/ontologiq).

> **Not on PyPI yet** — ships with the next ontologiq release.

```bash
pip install "ontologiq[serve]" ontologiq-postgres
```

```yaml
# ontologiq.yml
adapter: postgres
connection:
  host: db.internal
  dbname: shop
  user: ontologiq
```

The `connection` block is handed to psycopg verbatim (`dsn` becomes the
conninfo string, everything else keyword arguments), so anything libpq
understands works. Leave `password` out and let libpq find it — PGPASSWORD,
`~/.pgpass`, a service file — or interpolate it with
`password: "{{ env.PGPASSWORD }}"`.

Documentation: [docs.ontologiq.org/adapters](https://docs.ontologiq.org/adapters/).
