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 below.ctrl-up
: move cell above.ctrl-down
: move cell below.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.11.tar.gz
(11.2 kB
view details)
Built Distribution
nbterm-0.0.11-py3-none-any.whl
(12.3 kB
view details)
File details
Details for the file nbterm-0.0.11.tar.gz
.
File metadata
- Download URL: nbterm-0.0.11.tar.gz
- Upload date:
- Size: 11.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7dec2e13435c7a4fcfdd3fd2c733aedb60ba2af1a87f9babfd9ced693188e3f3 |
|
MD5 | 57a1aea961708fdadba07b8b67f89817 |
|
BLAKE2b-256 | cf0e16d1c559cad3f46f83af39b1bdc8e560d2a3758e15fb554f823e3a32993f |
File details
Details for the file nbterm-0.0.11-py3-none-any.whl
.
File metadata
- Download URL: nbterm-0.0.11-py3-none-any.whl
- Upload date:
- Size: 12.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ddebb79ba9b0129955e6621d74b28d51ffdc0adcd00e46d6497abd6b41090eb |
|
MD5 | 85d9392fb9b291adb58b074a83028a96 |
|
BLAKE2b-256 | 08f8def01c938ded597b971f21959c2014d16bc996ca2efe72f0844a80c7d731 |