Skip to main content

Harlequin adapter for Wherobots' Spatial SQL API

Project description

Wherobots Adapter for Harlequin

This repository provides the Harlequin adapter for WherobotsDB, using the Wherobots Spatial SQL API and its wherobots-python-dbapi-driver.

Installation

$ pip install harlequin-wherobots

Usage

Procure an API key from Wherobots, and start Harlequin with the required parameters:

$ harlequin -a wherobots --api-key <key>

Alternatively, you can use your session token:

$ harlequin -a wherobots --token <token>

The Harlequin adapter for Wherobots will automatically start a Wherobots SQL session with the default runtime (Tiny, 4 executors) in the default Wherobots public compute region (AWS us-west-2). You can override those defaults with the --runtime and --region options, respectively:

$ harlequin -a wherobots --api-key <key> --runtime MEDIUM --region AWS_US_WEST_2

[!NOTE] Community Edition users of Wherobots Cloud are restricted to the "Tiny" runtime size. See our Pricing for more information.

Advanced options

If your SQL session is already provisioned and running, you can force the driver to directly connect to it via its WebSocket URL (without protocol version):

$ harlequin -a wherobots --api-key <key> --ws-url <session-url>

You can also specify the base hostname of the Wherobots stack to interact with as the first positional parameter. By default, the driver connects to cloud.wherobots.com, the official public Wherobots service.

$ harlequin -a wherobots --api-key <key> [host]

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_wherobots-0.7.0.tar.gz (62.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

harlequin_wherobots-0.7.0-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

Details for the file harlequin_wherobots-0.7.0.tar.gz.

File metadata

  • Download URL: harlequin_wherobots-0.7.0.tar.gz
  • Upload date:
  • Size: 62.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for harlequin_wherobots-0.7.0.tar.gz
Algorithm Hash digest
SHA256 bd424d53a114199c4502433d5d9b8cf21e7dfd374bff85e248a588c40914846f
MD5 927c74bfad50615172133ba7e43443ee
BLAKE2b-256 1496584d297e76cab528dc64dc39b3160c94df5a9fdf71bf67af1eba1f102591

See more details on using hashes here.

Provenance

The following attestation bundles were made for harlequin_wherobots-0.7.0.tar.gz:

Publisher: pypi-publish.yaml on wherobots/harlequin-wherobots

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file harlequin_wherobots-0.7.0-py3-none-any.whl.

File metadata

File hashes

Hashes for harlequin_wherobots-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d42a348d52dc0953119e950abeccfb3ab8bae4bb9fdf6c9adc504d3503179a51
MD5 68929d49c4368a6510b0fa2b8e4c06eb
BLAKE2b-256 5a069657f0c14464b851547a29b1bf26447f75e1fc1bffddf4ea1a8e8648b386

See more details on using hashes here.

Provenance

The following attestation bundles were made for harlequin_wherobots-0.7.0-py3-none-any.whl:

Publisher: pypi-publish.yaml on wherobots/harlequin-wherobots

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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