Skip to content
/ nbopen Public
forked from takluyver/nbopen

Open a Jupyter notebook in the best available server

License

Notifications You must be signed in to change notification settings

y-marui/nbopen

 
 

Repository files navigation

Open notebooks from the command line

nbopen looks for the nearest running notebook server - if it finds one, it opens a web browser to that notebook. If not, it starts a new notebook server in that directory.

Installation:

python3 -m pip install nbopen

Usage:

nbopen AwesomeNotebook.ipynb

To integrate with your file manager, so you can double click on notebooks to open them, run:

  • Linux/BSD: python3 -m nbopen.install_xdg
  • Windows: python3 -m nbopen.install_win
  • Mac: Clone the repository and run ./osx-install.sh

Select Jupyter Notebook and JupyterLab with config.py. The paths to seach for config.py are

  1. $(pwd)/nbopenrc.py
  2. $CONFIGDIR/config.py
    where $CONFIGDIR is i. $HOME/.config/nbopen ii. $HOME/.nbopen
  3. $HOME/.nbopenrc.py
  4. $HOME/.config/nbopenrc.py

About

Open a Jupyter notebook in the best available server

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 93.4%
  • Shell 6.6%