Skip to main content

An SQL shell for executing Rockset queries.

Project description

RockSQL

An SQL shell for executing Rockset queries.

Installation

pip3 install RockSQL

Usage

  1. 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.

  1. Enter the shell:
$ rsql
  1. Execute a query
$ SELECT * FROM my_collection
  1. 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


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)

Uploaded Source

Built Distribution

RockSQL-1.0.0-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

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

Hashes for RockSQL-1.0.0.tar.gz
Algorithm Hash digest
SHA256 8cd0e062dc256db354d6984f80d9fe8faa90ec3689a376e7c97ee8c220bd6c06
MD5 590b2149cff9ae6f85c8d13963d3f11e
BLAKE2b-256 f3d7c7dd78b926f89db3142732f69dc98c319af568210d482faaaea955962517

See more details on using hashes here.

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

Hashes for RockSQL-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 48db91d707ec7ad9a31839ca93d22cda8bf2492dc3222f799c7602170871ddd6
MD5 6c062cfecbf86ecf572a02b1efb625d9
BLAKE2b-256 105ea4b79b4b60cb0e0f211092bf3cbc3e9f3d4f47f8944c40796147b1e46520

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page