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
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.1.tar.gz
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 | f7b72ba740b2c8d70386a923d75db671d631c96e75aea620ba0c401e5c0f0432 |
|
| MD5 | a0b9a11fe2f1ea7b871833b463744986 |
|
| BLAKE2b-256 | 65b6c223f551dfebe609801ebad452d49944874219599b26fe8ef1c4dd75686e |
Hashes for harlequin_wherobots-0.4.1-py3-none-any.whl
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 | 4fd5ace5107d14b97d41add1c4c145bf78414229cb72bbcd3dc5c818622946ec |
|
| MD5 | af72d210afa0b5830c974ae9ec936ec0 |
|
| BLAKE2b-256 | e71f65a277cf3facb05563dbdbb2591d8858943c7faa5e091ebadae07156ad19 |