A tool for viewing, editing and executing Jupyter Notebooks in the terminal
Project description
nbterm
Lets you view, edit and execute Jupyter Notebooks in the terminal.
Install
Using pip:
pip install nbterm
Using conda:
mamba install nbterm -c conda-forge
You will also need a kernel, e.g. ipykernel
or xeus-python
for Python, xeus-cling
for C++.
Usage
Open an interactive notebook:
$ nbterm my_notebook.ipynb
Run a notebook in batch mode:
$ nbterm --run my_notebook.ipynb
Key bindings
There are two modes: edit mode, and command mode.
enter
: enter the edit mode, allowing to type into the cell.esc
: exit the edit mode and enter the command mode.
In command mode:
up
: select cell above.down
: select cell above.ctrl-up
: move cell up.ctrl-down
: move cell down.a
: insert cell above.b
: insert cell below.x
: cut the cell.c
: copy the cell.ctrl-v
: paste cell above.v
: paste cell below.o
: set as code cell.m
: set as Markdown cell.l
: clear cell outputs.ctrl-e
: run cell.ctrl-r
: run cell and select below.ctrl-s
: save.ctrl-q
: exit.ctrl-h
: show help.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nbterm-0.0.8.tar.gz
(10.0 kB
view hashes)
Built Distribution
nbterm-0.0.8-py3-none-any.whl
(11.1 kB
view hashes)