Skip to main content

The SQL IDE for Your Terminal.

Project description

Harlequin

PyPI

PyPI - Python Version Runs on Linux | MacOS | Windows

The SQL IDE for Your Terminal.

Harlequin

Installing Harlequin

After installing Python 3.8 or above, install Harlequin using pip or pipx with:

pipx install harlequin

Using Harlequin with DuckDB

From any shell, to open one or more DuckDB database files:

harlequin "path/to/duck.db" "another_duck.db"

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

harlequin

If you want to control the version of DuckDB that Harlequin uses, see the Troubleshooting page.

Using Harlequin with SQLite and Other Adapters

Harlequin also ships with a SQLite3 adapter. You can open one or more SQLite database files with:

harlequin -a sqlite "path/to/sqlite.db" "another_sqlite.db"

Like DuckDB, you can also open an in-memory database by omitting the paths:

harlequin -a sqlite

Other adapters can be installed using pip install <adapter package> or pipx inject harlequin <adapter package>, depending on how you installed Harlequin. For a list of known adapters provided either by the Harlequin maintainers or the broader community, see the adapters page in the docs.

Getting Help

To view all command-line options for Harlequin and all installed adapters, after installation, simply type:

harlequin --help

To view a list of all key bindings (keyboard shortcuts) within the app, press F1. You can also view this list outside the app in the docs.

COLOR, KEY BINDING, OR COPY-PASTE PROBLEMS? See Troubleshooting in the docs.

More info at harlequin.sh

Visit harlequin.sh for an overview of features and full documentation.

Sponsoring Harlequin

Please consider sponsoring Harlequin's author, so he can continue to dedicate time to Harlequin.

Contributing

Thanks for your interest in Harlequin! Harlequin is primarily maintained by Ted Conbeer, but he welcomes all contributions!

Please see CONTRIBUTING.md for more information.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

harlequin-1.25.1.tar.gz (90.2 kB view details)

Uploaded Source

Built Distribution

harlequin-1.25.1-py3-none-any.whl (111.1 kB view details)

Uploaded Python 3

File details

Details for the file harlequin-1.25.1.tar.gz.

File metadata

  • Download URL: harlequin-1.25.1.tar.gz
  • Upload date:
  • Size: 90.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for harlequin-1.25.1.tar.gz
Algorithm Hash digest
SHA256 dfbce995e6f74b7ff83b45f9174ec0b3d4e65568009b716b9f7270987e1a3d52
MD5 64deaafcbb2c2a552b876bd655b5a82d
BLAKE2b-256 fe940350f5ac3cfeb4f6f117af8e24f2bd0fe98a2453ddb0ecc9dcd732ae38d9

See more details on using hashes here.

Provenance

The following attestation bundles were made for harlequin-1.25.1.tar.gz:

Publisher: publish.yml on tconbeer/harlequin

Attestations:

File details

Details for the file harlequin-1.25.1-py3-none-any.whl.

File metadata

  • Download URL: harlequin-1.25.1-py3-none-any.whl
  • Upload date:
  • Size: 111.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for harlequin-1.25.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a75d3fa63c831d494bb70ac25f5270f32001489ceecbf0346dbbc6acf65781f3
MD5 f2132b9835e25baa5984aba1afdeba97
BLAKE2b-256 816ef62da04899940d6e1ed623d4a2910c004983c31e47c117aeffb7ffa79bc4

See more details on using hashes here.

Provenance

The following attestation bundles were made for harlequin-1.25.1-py3-none-any.whl:

Publisher: publish.yml on tconbeer/harlequin

Attestations:

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page