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

Uploaded Python 3

File details

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

File metadata

  • Download URL: harlequin_wherobots-0.6.2.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for harlequin_wherobots-0.6.2.tar.gz
Algorithm Hash digest
SHA256 99f8c56e62b7a928f13c9d4556e79b70094ad17662ae6ece8f1d1aed35371d73
MD5 dc986b3160dfd72bf481226244d246df
BLAKE2b-256 2e29842f7327b82d08f228818e1871776ecbf16548a1176498b0c493895d9934

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for harlequin_wherobots-0.6.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8c4ddc5acd082aebd990d926984797f683f70e76264bbf955255d144d18724ee
MD5 cb24a749068c4596fee5ea49d15aad78
BLAKE2b-256 384f154878ab0aa81ff57039820141f89763cf2c98e2638f58cae0ef67677785

See more details on using hashes here.

Provenance

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