Skip to content

Embi/notebooks

Repository files navigation

Jupyter notebooks

Collection of various Jupyter notebooks. This repo also defines my Jupyter environment, notebook flow and requirements handling...

Notebooks

Initialization

To initialize my jupyter environment on a new (Arch Linux) system, the following needs to be done:

  1. Create notebooks virtual environment and install requirements
> mkvirtualenv notebooks
(notebooks) > pip install -r requirements.txt

Flow

To create a new notebook:

  1. Create new virtual environment and a new kernel for the notebook
> mkvirtualenv notebookXY 
(notebookXY) > pip install ipykernel
(notebookXY) > python -m ipykernel install --user --name=notebookXY --display-name "Python (notebookXY)"
  1. Create requirements file requirements/notebookXY.txt
  2. Install requirements
> workon notebookXY
(notebookXY) > pip install -r requirements/notebookXY.txt
  1. Make sure you select the right kernel when editing

About

Jupyter notebooks

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published