Skip to main content

No project description provided

Project description

pynsgr

GitHub CI PyPI PyPI - Python Version GitHub GitHub pull requests GitHub issues

Python interface to the NeuroScience Gateway REST interface, based on the previously developed pycipres.

Quick start guide

Creating an account on NSGR

Please head to the NSGR web portal to create an account. Documentation there includes the list of available tools and other information. A tutorial is available, and so is a complete user guide.

Once you have created an account, you must create a new "application" to be able to use the REST API:

  • login, click "Developer" > "Application management"
  • click "create new application"
  • fill in the form: please use the "DIRECT" authentication type

This will create the application for you and create an application ID for you to use (see below).

Using this package

  1. Install this package directly using pip:
pip install pynsgr

or from source (to get the latest development version, for example):

git clone https://github.com/OpenSourceBrain/pynsgr
cd pynsgr
pip install .
  1. Update ~/nsgrest.conf with your account and application information:
URL=https://nsgr.sdsc.edu:8443/cipresrest/v1
USERNAME=<YOUR_USERNAME>
PASSWORD=<YOUR_PASSWORD>
APPID=<YOUR_APPID>
APPNAME=PY_EXPANSE
  1. Try listing your jobs
nsgr_job -l
  1. Submit a job
nsgr_submit <directory> validate
nsgr_submit <directory> run

For more information on what the tools do, use the -h option:

nsgr_submit -h
nsgr_job -h

where <directory> contains the zipped code to run, and the two properties files. See the example folder for an example of this and configuration files that are used.

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

pynsgr-1.0.2.tar.gz (16.9 kB view details)

Uploaded Source

Built Distribution

pynsgr-1.0.2-py3-none-any.whl (17.6 kB view details)

Uploaded Python 3

File details

Details for the file pynsgr-1.0.2.tar.gz.

File metadata

  • Download URL: pynsgr-1.0.2.tar.gz
  • Upload date:
  • Size: 16.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for pynsgr-1.0.2.tar.gz
Algorithm Hash digest
SHA256 cf76d9d6592515a1ab69fd12467a41b1a84ff2fe28bbfc03650b463f6ee6183f
MD5 83e26010165a7f2d36236e8d1c815bc0
BLAKE2b-256 e741dbe5a404aeb02f9fd939c68ffa9c238c253809af298f1a629a7444c0ba1c

See more details on using hashes here.

Provenance

File details

Details for the file pynsgr-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: pynsgr-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 17.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for pynsgr-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f6dddab8a19446d0135feab91c945931f9079d03549646e5ecbd11ee56665dad
MD5 6cb6766e024fef6c689f808dd4574dd3
BLAKE2b-256 65b7e1708beecd32472c98ec1afbea3d11151223d89a097aef2ca3b8c1605af3

See more details on using hashes here.

Provenance

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