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.r
: set as raw 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.13.tar.gz
(11.2 kB
view details)
Built Distribution
nbterm-0.0.13-py3-none-any.whl
(12.4 kB
view details)
File details
Details for the file nbterm-0.0.13.tar.gz
.
File metadata
- Download URL: nbterm-0.0.13.tar.gz
- Upload date:
- Size: 11.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99b080c86b6a5121dc4f7333c4bbd89fc5fedc4af8372892ea6d8e396303cf2d |
|
MD5 | c8e07b5cc3a11e15e8fc2fb91e89bd97 |
|
BLAKE2b-256 | 104285f71783ffd75e7f38c58e82d744efe054dabc819311faa9139e65ab0a2a |
File details
Details for the file nbterm-0.0.13-py3-none-any.whl
.
File metadata
- Download URL: nbterm-0.0.13-py3-none-any.whl
- Upload date:
- Size: 12.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 929ca67cba2a8a56ed9ef04b2ff423d2e4783805b56b1ed08eb6107f5d7f3abb |
|
MD5 | 5a09b8c175c239fbf2a61d094f0a5e24 |
|
BLAKE2b-256 | fcb9ef73e261f991e878341b0bd1a928aa2c0e4bdace690437671f1d3489d4f2 |