Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 849 Bytes

README.rst

File metadata and controls

31 lines (22 loc) · 849 Bytes

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