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 Distribution
Built Distribution
Hashes for harlequin_wherobots-0.4.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2927444cd7cde8c06bf1a0a7d8eff747870535ac29ed89940edc9ca148844054 |
|
MD5 | 482b911f4a2c41661fb746a1bc49f5e3 |
|
BLAKE2b-256 | ff121c8605031f7dc2e7436f8011882a15c7974c2e5d62588e997b51a1056f77 |
Hashes for harlequin_wherobots-0.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9927455884e58b56a681a71ed34983e8814d95d96835f728098c4ef217eddd4 |
|
MD5 | 94225b08bb68c3de1a703b0b5b467d4d |
|
BLAKE2b-256 | 6fbd2ea2a629895406256e03744f0e9d2d376ecc2dc985e5653e601d0cfda4c0 |