Skip to main content

A command called jupyter and foo for the cloudmesh shell

Project description

Documentation

image

image

image

image

see cloudmesh.cmd5

$ pip install cloudmesh-jupyter
$ cms help jupyter
cms jupyter

  Usage:
        jupyter start USER HOST PORT [DIR]
        jupyter tunnel USER HOST PORT
        jupyter stop USER HOST
        jupyter open PORT

  This command can start a jupyter notebook on a remote machine and
  use it in your browser.

  Arguments:
     USER   The username on the remote machine
     HOST   The hostname of the remote machine
     PORT   The port of the remote machine
     DIR    The directory where the notebooks are located

  Description:

    Step 1: Setting up a .bash_profile file

     If you have your python venv set up you need to add it to the
     .bash_profile on your remote machine. A possible
     profile file could look as follows:

        if [ -f ~/.bash_aliases ]; then
             . ~/.bash_aliases
         fi

         export PATH=$HOME/ENV3/bin:$PATH
         source $HOME/ENV3/bin/activate

    Step 2: Start the remote notebook server in a terminal

        Note: After the start you will not be able to use that terminal

        cms jupyter start USER HOST PORT

        Thsi command will aslo establich an SSH tunel and open in
        the web browser jupyter lab

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

cloudmesh-jupyter-4.3.4.tar.gz (5.7 kB view hashes)

Uploaded Source

Built Distribution

cloudmesh_jupyter-4.3.4-py2.py3-none-any.whl (6.1 kB view hashes)

Uploaded Python 2 Python 3

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