Skip to main content

No project description provided

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.6.0.tar.gz (8.3 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.6.0-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for harlequin_wherobots-0.6.0.tar.gz
Algorithm Hash digest
SHA256 4d44828765bc8ee37e6f94c5c1b7c586a9ca7a10615f1e83aa499e707d02c3e6
MD5 4c65a5740a8a4f772a5c56151def8841
BLAKE2b-256 d80705ac86a7469639c1587e0dce07d197a4ff0601632dccef52439798316afd

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for harlequin_wherobots-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f00d049bfe51debef82a5612745dd86df527f0ca056ff7afbc5f4a1647851c3b
MD5 ca989692f16330eb9c86be6358b9946f
BLAKE2b-256 0916438e7dfb527bd975a39af40a5fa634a26ec0a6303a8f0e9807b80a93a60c

See more details on using hashes here.

Provenance

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