Skip to content

aaronsteers/harlequin

 
 

Repository files navigation

harlequin

A Text User Interface for DuckDB.

harlequin TUI

(A Harlequin is also a pretty duck.)

harlequin duck

Installing Harlequin

Use pip or pipx:

pipx install harlequin

Using Harlequin

To open a DuckDB database file:

harlequin "path/to/duck.db"

To open an in-memory DuckDB session, run Harlequin with no arguments:

harlequin

When Harlequin is open, you can view the schema of your DuckDB database in the left sidebar.

To run a query, enter your code in the main text input, then press Ctrl+Enter. You should see the data appear in the pane below.

You can press Tab or use your mouse to change the focus between the panes.

When the focus is on the data pane, you can use your arrow keys or mouse to select different cells.

About

A Text User Interface for DuckDB

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 91.9%
  • CSS 8.0%
  • Makefile 0.1%