Skip to main content

Jarvice API Python Client for Nimbix, Inc.

Project description

The Jarvice CLI by Nimbix, Inc. This consists of two components:

  • Python API for programmatically accessing https://api.jarvice.com
  • jarviceclient, a command-line tool for calling the API

For more information and the full API documentation, see https://api.jarvice.com.

The easiest way to get set up:

Create ~/.jarvice.cfg with the following contents:

[auth]
username: username
apikey: apikey-from-portal

The JARVICE CLI

Installation

The easiest way to install is directly from PyPI.

pip install --user jarviceclient

If the installation was successful, you should have an executable called jarvice_cli in your path after installing the jarviceclient package.

Interacting with Jobs

Launching a job

Launch a job from the portal and save the JSON to job.json. To launch it again, do the following:

jarvice_cli submit -j job.json

List a summary of your jobs

jarvice_cli summary

See the output/error of a currently running job

jarvice_cli tail -number <jobnumber>

See the output of a job that has ended

jarvice_cli output -number <jobnumber>

Get connection details (address, password)

jarvice_cli connect -number <jobnumber>

Cleanly shutdown a job (with shutdown signal)

jarvice_cli shutdown -number <jobnumber>

Force termination of a job (like kill -9)

jarvice_cli terminate -number <jobnumber>

Get the stats on your job

jarvice_cli info -number <jobnumber>

Get the status of your job

jarvice_cli status -number <jobnumber>

Perform a configured action on your job

jarvice_cli action -number <jobnumber> -action <action>

Get a list of currently running jobs

jarvice_cli jobs

Cleanly shutdown all currently running jobs

jarvice_cli shutdown_all

Force termination of a job (like kill -9)

jarvice_cli terminate_all

Wait for a job to end

jarvice_cli wait_for -number <jobnumber>

Data Management for drop.jarvice.com Storage Vault

Upload

jarvice_cli download -drop <source> -local <destination>

Upload file or directory to drop.jarvice.com

jarvice_cli upload -local <source> -drop <destination>

List files on drop.jarvice.com

jarvice_cli ls or jarvice_cli ls -d <remote_dir>

Querying JARVICE Options

See the available apps and a schema describing inputs

jarvice_cli apps

Query available machine types

jarvice_cli machines

JarviceAPI

JarviceAPI contains a Client and AuthenticatedClient for interacting with https://api.jarvice.com

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

jarviceclient-1.0.0.tar.gz (12.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jarviceclient-1.0.0-py2-none-any.whl (17.1 kB view details)

Uploaded Python 2

File details

Details for the file jarviceclient-1.0.0.tar.gz.

File metadata

  • Download URL: jarviceclient-1.0.0.tar.gz
  • Upload date:
  • Size: 12.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/2.7.17

File hashes

Hashes for jarviceclient-1.0.0.tar.gz
Algorithm Hash digest
SHA256 dbf57b532b27ce1d19f05c033392402fff0b732276f44fab9951019f67edab54
MD5 e5dc0af4f473358e7b18112eee6009a1
BLAKE2b-256 0adf02152f10ab82711cb18fc5fd2f2a060af854ddebd9c17040f7747fd98756

See more details on using hashes here.

File details

Details for the file jarviceclient-1.0.0-py2-none-any.whl.

File metadata

  • Download URL: jarviceclient-1.0.0-py2-none-any.whl
  • Upload date:
  • Size: 17.1 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/2.7.17

File hashes

Hashes for jarviceclient-1.0.0-py2-none-any.whl
Algorithm Hash digest
SHA256 78f82408b0e59870aeabb62248603e2f75a5c9c584bb32730654d31d58c8cba2
MD5 de55fbb6c677190b9ea21819c0633ded
BLAKE2b-256 e1db8d2750dae2738e65823a40b6457bd65a2349679e59ba33242c82ed46bd85

See more details on using hashes here.

Supported by

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