An SQL shell for executing Rockset queries.
Project description
RockSQL
An SQL shell for executing Rockset queries.
Installation
pip3 install RockSQL
Usage
- Authentication:
$ export `ROCKSET_TOKEN`=[API key] `ROCKSET_SERVER`=[API server]```
Note: You can also authorize using rsql [API key] [API server]
in the next step.
- Enter the shell:
$ rsql
- Execute a query
$ SELECT * FROM my_collection
- Exit
$ exit
Shell commands
help
cls
/clear
exit
(^D)
Save results
To save query results to a file, append >
to the end of your query.
$ SELECT * FROM my_collection > collection.json
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
RockSQL-1.0.0.tar.gz
(2.2 kB
view details)
Built Distribution
File details
Details for the file RockSQL-1.0.0.tar.gz
.
File metadata
- Download URL: RockSQL-1.0.0.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.6.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8cd0e062dc256db354d6984f80d9fe8faa90ec3689a376e7c97ee8c220bd6c06 |
|
MD5 | 590b2149cff9ae6f85c8d13963d3f11e |
|
BLAKE2b-256 | f3d7c7dd78b926f89db3142732f69dc98c319af568210d482faaaea955962517 |
File details
Details for the file RockSQL-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: RockSQL-1.0.0-py3-none-any.whl
- Upload date:
- Size: 2.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.6.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48db91d707ec7ad9a31839ca93d22cda8bf2492dc3222f799c7602170871ddd6 |
|
MD5 | 6c062cfecbf86ecf572a02b1efb625d9 |
|
BLAKE2b-256 | 105ea4b79b4b60cb0e0f211092bf3cbc3e9f3d4f47f8944c40796147b1e46520 |