Add an extension to build a more comfortable Jupyter environment

Jupyter is very useful, but there are times when I wish I had this feature.

In such a case, it is an extension.

Jupyter has Notebook extensions, which allow you to extend the functionality.

The fact that there are extensions on the official website is a little, but it's fine to use some. Convenient.

If you use Jupyter but not extension, please give it a try.

Jupyter notebook extensions A repository of extensions that add functionality to Jupyter is available on GitHub.

https://github.com/ipython-contrib/IPython-notebook-extensions

This repository is convenient because you can switch between activate / deactivate the extension from your browser.

It seems to be developed by a group unrelated to the official IPython developer team.

Installation

pip install pyyaml
git clone https://github.com/ipython-contrib/IPython-notebook-extensions
cd IPython-notebook-extensions
sudo python setup.py install

Configuration screen

After the installation is complete, open the configuration screen and enable the extension you like.

The configuration screen can be opened by running Jupyter notebook and accessing localhost: 8888 / nbextensions / from a browser.

nbextensions.png

jupyter-vim-binding extension People who usually use vim feel stressed if they can't use vim key bindings.

There is an extension called jupyter-vim-binding for those people.

It is not included in the previous repository, but you can enter it independently from the following repositories. A demo image is also on GitHub.

https://github.com/lambdalisue/jupyter-vim-binding

You can install it directly or install it by incorporating it into IPython-notebook-extensions.

This time I will install with the latter.

cd $(jupyter --data-dir)/nbextensions/usability
git clone https://github.com/lambdalisue/jupyter-vim-binding.git vim_binding
chmod -R go-w vim_binding

Once installed, enable it from localhost: 8888 / nbextensions /.

Please note that some of the original keyboard shortcuts may not be available.

Favorite extension

NbExtensions menu item Add a button to the Edit menu to open localhost: 8888 / nbextensions /.

Let's enable this for the time being.

Code Font Size Add a button to the toolbar that allows you to increase / decrease the font size of your code.

Codefolding You can fold the code in the cell.

Comment/Uncomment Hotkey Add a shortcut to comment / uncomment.

Drag and Drop Drag and drop the image to insert it into your note.

The image is copied to the same directory as the notebook and inserted by referring to it.

There is a demo video on youtube.

http://youtu.be/buAL1bTZ73c

Equation Auto Numbering Enter the formula number in the formula. A button to show / hide the formula number is also added.

Table of Content The content table is displayed like this.

Kobito.By9WPC.png

zenmode Use when the menu bar is in the way.

Recommended Posts

Add an extension to build a more comfortable Jupyter environment
Build a comfortable psychological experiment / analysis environment with PsychoPy + Jupyter Notebook
How to build a sphinx translation environment
I want to build a Python environment
Add a Python virtual environment to VSCode
For beginners to build an Anaconda environment. (Memo)
Build a PYNQ environment on Ultra96 V2 and log in to Jupyter Notebook
How to build a Django (python) environment on docker
I want to easily build a model-based development environment
[Go + Gin] I tried to build a Docker environment
How to build a development environment for TensorFlow (1.0.0) (Mac)
How to build a Python environment on amazon linux 2
I tried to build an environment with WSL + Ubuntu + VS Code in a Windows environment
How to build a new python virtual environment on Ubuntu
Add a dictionary to MeCab
Build an Anaconda virtual environment
I want to start a jupyter environment with one command
Build a Python development environment in Eclipse (add HTML editor)
Build a LAMP environment [CentOS 7]
Introducing Kaggle's Docker Image on Windows to build an environment
Build a comfortable development environment with VSCode x Remote Development x Pipenv
Build a Python environment and transfer data to the server
I want to use a virtual environment with jupyter notebook!
Build a machine learning environment
How to build a python2.7 series development environment with Vagrant
The usual way to add a Kernel with Jupyter Notebook
Create a Todo app with Django ① Build an environment with Docker
Build a Python environment offline
Build a Python environment with WSL + Pyenv + Jupyter + VS Code
How to build a LAMP environment using Vagrant and VirtulBox Note
The simplest way to build a Spleeter usage environment using Windows
How to build a Python environment using Virtualenv on Ubuntu 18.04 LTS
Building an environment to run ChainerMN on a GPU instance on AWS
How to build Python and Jupyter execution environment with VS Code
To add a C module to MicroPython ...
Build a go environment using Docker
Add more kernels with Jupyter Notebook
Convert a string to an image
Created an environment for Anaconda & Jupyter
Build a python3 environment on CentOS7
After buying a new Mac, use pyenv + poetry to build a Python environment.
Build an environment with pyenv, pyenv-virtualenv, jupyter on OS X El Capitan
I tried to build a Mac Python development environment with pythonz + direnv
Build a "Deep learning from scratch" learning environment on Cloud9 (jupyter miniconda python3)
Summary of how to build a LAMP + Wordpress environment with Sakura VPS
Build Linux on a Windows environment. Steps to install Laradock and migrate
Steps to build a Django environment with Win10 WSL Ubuntu18.04 + Anaconda + Apache2
Add a GPIO board to your computer. (1)
Build an environment for Blender built-in Python
Easily build a development environment with Laragon
Python 2.7, 3.4, 3.5 extension module build environment on Windows
Method to build Python environment in Xcode 6
How to add a package with PyCharm
Execute a script from Jupyter to process
Build a python environment on MacOS (Catallina)
Try to make a kernel of Jupyter
How to create an NVIDIA Docker environment
Build a Tensorflow environment with Raspberry Pi [2020]
Build a Fast API environment with docker-compose
Build the execution environment of Jupyter Lab
Build an LNPP environment on Amazon Linux 2