Skip to main content

A set of tools to run nanohub web apis

Project description


A set of tools/apps to run on nanohub


pip install nanohub-remote


import nanohub.remote as nr
auth_data = {
  'client_id': XXXXXXXX,
  'client_secret': XXXXXXXX,
  'grant_type': 'password',
  'username': XXXXXXXX,
  'password': XXXXXXXX

# to get username and password, register on (
# to get client id and secret, create a web application (, use "" as Redirect URL

session = nr.Session(auth_data)

Available Nanohub Points


TOOLNAME = '' # valid Nanoohub tool name e.g. pntoy
tool = nr.Tool(auth_data)

# Get Available input parameters
params = tool.getToolParameters(TOOLNAME)

# Submit a simulation experiment
job_id = tool.submitTool(params)

# Check Status
status = tool.checkStatus(job_id['job_id'])

# Get Results
results = tool.getResults(job_id['job_id'])

# Submit an wait for results
results = tool.submitTool(params, wait_results=True)

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 nanohub-remote, version 0.0.3
Filename, size File type Python version Upload date Hashes
Filename, size nanohub_remote-0.0.3-py2.py3-none-any.whl (13.1 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size nanohub-remote-0.0.3.tar.gz (10.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page