Name | harlequin-wherobots JSON |
Version |
0.5.0
JSON |
| download |
home_page | None |
Summary | None |
upload_time | 2024-11-08 05:11:47 |
maintainer | None |
docs_url | None |
author | Maxime Petazzoni |
requires_python | <4.0,>=3.9 |
license | None |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# Wherobots Adapter for Harlequin
This repository provides the Harlequin adapter for WherobotsDB, using
the Wherobots Spatial SQL API and its
[wherobots-python-dbapi-driver](https://github.com/wherobots/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]
```
Raw data
{
"_id": null,
"home_page": null,
"name": "harlequin-wherobots",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.9",
"maintainer_email": null,
"keywords": null,
"author": "Maxime Petazzoni",
"author_email": "max@wherobots.com",
"download_url": "https://files.pythonhosted.org/packages/d3/7d/03f64717677272b6e07ef17d17ceaf2f9dea9c0e5db0dae6ea194efd5e45/harlequin_wherobots-0.5.0.tar.gz",
"platform": null,
"description": "# Wherobots Adapter for Harlequin\n\nThis repository provides the Harlequin adapter for WherobotsDB, using\nthe Wherobots Spatial SQL API and its\n[wherobots-python-dbapi-driver](https://github.com/wherobots/wherobots-python-dbapi-driver).\n\n## Installation\n\n```\n$ pip install harlequin-wherobots\n```\n\n## Usage\n\nProcure an API key from Wherobots, and start Harlequin with the\nrequired parameters:\n\n```\n$ harlequin -a wherobots --api-key <key>\n```\n\nAlternatively, you can use your session token:\n\n```\n$ harlequin -a wherobots --token <token>\n```\n\nThe Harlequin adapter for Wherobots will automatically start a Wherobots\nSQL session with the default runtime (Sedona, 4 executors) in the\ndefault Wherobots public compute region (AWS `us-west-2`). You can\noverride those defaults with the `--runtime` and `--region` options,\nrespectively:\n\n```\n$ harlequin -a wherobots --api-key <key> --runtime NEW_YORK --region AWS_US_WEST_2\n```\n\n## Advanced options\n\nIf your SQL session is already provisioned and running, you can force\nthe driver to directly connect to it via its WebSocket URL (without\nprotocol version):\n\n```\n$ harlequin -a wherobots --api-key <key> --ws-url <session-url>\n```\n\nYou can also specify the base hostname of the Wherobots stack to\ninteract with as the first positional parameter. By default, the driver\nconnects to `cloud.wherobots.com`, the official public Wherobots\nservice.\n\n```\n$ harlequin -a wherobots --api-key <key> [host]\n```\n\n",
"bugtrack_url": null,
"license": null,
"summary": null,
"version": "0.5.0",
"project_urls": null,
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "32725cbc5d1bbd954d671f4cbb97e83ed2416a34533f59b325c5052f995ce598",
"md5": "a8299aa7734db2bf983dee41e7b98248",
"sha256": "74714ccb9df56bbb45a18cd1c357abb0285c3fe7550822c593ce0935e76f4924"
},
"downloads": -1,
"filename": "harlequin_wherobots-0.5.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "a8299aa7734db2bf983dee41e7b98248",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.9",
"size": 9697,
"upload_time": "2024-11-08T05:11:46",
"upload_time_iso_8601": "2024-11-08T05:11:46.312541Z",
"url": "https://files.pythonhosted.org/packages/32/72/5cbc5d1bbd954d671f4cbb97e83ed2416a34533f59b325c5052f995ce598/harlequin_wherobots-0.5.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "d37d03f64717677272b6e07ef17d17ceaf2f9dea9c0e5db0dae6ea194efd5e45",
"md5": "83c59f9ba7ef8d6a0375995ea6c07126",
"sha256": "9d447351373beb193090b6ddbc69f33b01046be0286cb7b9becd9d46c70adc1b"
},
"downloads": -1,
"filename": "harlequin_wherobots-0.5.0.tar.gz",
"has_sig": false,
"md5_digest": "83c59f9ba7ef8d6a0375995ea6c07126",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.9",
"size": 8181,
"upload_time": "2024-11-08T05:11:47",
"upload_time_iso_8601": "2024-11-08T05:11:47.593810Z",
"url": "https://files.pythonhosted.org/packages/d3/7d/03f64717677272b6e07ef17d17ceaf2f9dea9c0e5db0dae6ea194efd5e45/harlequin_wherobots-0.5.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-08 05:11:47",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "harlequin-wherobots"
}