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.9.0.tar.gz (93.5 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.9.0-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for harlequin_wherobots-0.9.0.tar.gz
Algorithm Hash digest
SHA256 efd5f370a0433266fa71b53b24c6db433aa2d8ff581efdc7769231be9f054611
MD5 e8c75d1577ec1f9153b8a5763f913195
BLAKE2b-256 4fc07430e485ed5c5a4c748906ff1bb454f1777921aa24b304ef12f8ea852502

See more details on using hashes here.

Provenance

The following attestation bundles were made for harlequin_wherobots-0.9.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.9.0-py3-none-any.whl.

File metadata

File hashes

Hashes for harlequin_wherobots-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 291078f283ba28eb62bff6f89f7afc80e798b8c21fc1689ba28794c13798726b
MD5 fb63dff1c109c81a1aca497506981373
BLAKE2b-256 df0d840ab41b3cafb6c5a9725a6ed983425b4a25bcd3b98200f4d2d423441410

See more details on using hashes here.

Provenance

The following attestation bundles were made for harlequin_wherobots-0.9.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