Metadata-Version: 2.5
Name: delightql
Version: 0.1.0a1
Summary: The library for DelightQL, a query language that transpiles to SQL
Project-URL: Homepage, https://delightql.org
Project-URL: Repository, https://github.com/reverendpaco/delightql
License-Expression: Apache-2.0
License-File: LICENSE
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# delightql

The library for [DelightQL](https://delightql.org), a query language that
transpiles to SQL: compile and run DelightQL queries from your own Python
program.

```python
import delightql

with delightql.Database("app.sqlite") as db:
    columns, rows = db.execute("users(*) |> (id, first_name)")
```

A DuckDB database needs the adapter, installed beside the library as
[`delightql-duckdb`](https://pypi.org/project/delightql-duckdb/); the
library starts it when the handle opens and ends it when the handle closes:

```python
import delightql, delightql_duckdb

with delightql.Database("lake.duckdb", adapter_dir=delightql_duckdb.adapter_dir()) as db:
    columns, rows = db.execute("orders(*) |> #(id)")
```

For the `dql` command line, see [`delightql-cli`](https://pypi.org/project/delightql-cli/).

Source: https://github.com/reverendpaco/delightql
