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 (Sedona, 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 NEW_YORK --region AWS_US_WEST_2
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for harlequin_wherobots-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65f9a285e1ea9d57e33bc6f5acb56a328ff9cdf103c0cea9f86215bdacba3892 |
|
MD5 | 8512d10b4cd6c154ea88a26da8c7a755 |
|
BLAKE2b-256 | e2ca3dca3f94dd11d5ba05c67d27fd03639f2d2984a64a6f48dd921765e9cd4d |