Skip to main content

ThingsDB Prompt

Project description

ThingsPrompt

Shell client for ThingsDB

Installation

Using pip:

pip install thingsprompt

Or, clone this project and use the setup

python setup.py install

Example usage

things-prompt -n localhost -u admin -p pass


127.0.0.1:9200 (@thingsdb)> new_collection('my_collection');
127.0.0.1:9200 (@thingsdb)> @:my_collection
127.0.0.1:9200 (@:my_collection)> .greet = "Hello world!";

"Hello world!"

Arguments

  -h, --help            show help message and exit
  --node NODE, -n NODE  node address
  --port PORT           TCP port where the node is listening on for API calls
  --user USER, -u USER  user name
  --password PASSWORD, -p PASSWORD
                        password, will be prompted if not given
  --token TOKEN, -t TOKEN
                        token key
  --scope SCOPE, -s SCOPE
                        set the initial scope
  --timeout TIMEOUT     connect and query timeout in second
  --ssl                 enable secure connection (SSL/TLS)
  --version             print version and exit

Special commands

command description
? Show help.
@scope Switch to another scope, for example: @:stuff
@scope query Run a single query in a given scope, for example @n node_info();
CTRL + n Insert a new line

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for thingsprompt, version 0.3.0
Filename, size File type Python version Upload date Hashes
Filename, size thingsprompt-0.3.0.tar.gz (4.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page