• Stars
    star
    703
  • Rank 64,412 (Top 2 %)
  • Language
    Python
  • License
    MIT License
  • Created over 3 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Jupyter Notebooks in the terminal.

Build Status Code style: black

nbterm

Lets you view, edit and execute Jupyter Notebooks in the terminal.

WARNING: jpterm is the successor of nbterm, which is not maintained anymore.

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.

More Repositories

1

jpterm

Jupyter in the terminal
Python
67
star
2

akernel

Asynchronous Python Jupyter kernel.
Python
64
star
3

subnotebook

Call Jupyter notebooks as Python functions
Python
52
star
4

xtrude

An xarray extension for 3D terrain visualization.
Python
28
star
5

ipyobservable

Run Observable code in Jupyter via Python
JavaScript
24
star
6

ipybertin

A Jupyter - Bertin.js bridge
TypeScript
21
star
7

ipyearth

An IPython Widget for Earth Maps
JavaScript
21
star
8

ipyhtmx

Build modern UIs in Jupyter with Python
JavaScript
11
star
9

syncio

asyncio, without async/await
Python
10
star
10

ipylayout

Python
10
star
11

ipyspin

A Jupyter widget library for dynamically creating spinning activity indicators
TypeScript
9
star
12

ipyurl

Python
6
star
13

jupyterlab-auth

TypeScript
6
star
14

attrait

A high-level API for traitlets.
Python
6
star
15

jupyspace

Python
6
star
16

flow_acc_3s

Compute 3sec flow accumulation from HydroSHEDS
Python
6
star
17

bundle

FPGA-accelerated array computing
Python
6
star
18

ipyscore

A Jupyter widget for music notation
TypeScript
5
star
19

mcmc

MCMC samplers: Metropolis-Hastings and Sequential Monte Carlo
Python
5
star
20

jupytexpr

Python
5
star
21

pyclk

Python implementation of a Hardware Description Language (HDL)
Python
5
star
22

ipyx

A Jupyter widget library for reactive variables
Python
5
star
23

pyceptive

Data change events on top of pydantic
Python
4
star
24

kernel_driver

Python
4
star
25

jupyverse-auth

TypeScript
4
star
26

turbocode

Turbo decoder using SOVA algorithm. Double binary, DVB-RCS code. MyHDL and VHDL models.
VHDL
4
star
27

ipytextual

Jupyter Textual-based Widget
Python
3
star
28

jupyter_server_kernels_proxy

A Jupyter Server Extension Proxying Kernels.
Python
3
star
29

pangeo-streamflow

A global streamflow model using the Pangeo platform
Python
2
star
30

anycorn

Anycorn is a fork of Hypercorn where asyncio and Trio implementations are replaced with AnyIO.
Python
2
star
31

dem3d

Python
2
star
32

ipynb

IPython Notebooks
Jupyter Notebook
2
star
33

jupyter_server_terminals_proxy

A Jupyter Server Extension Proxying Terminals.
Python
2
star
34

piopio

Python
1
star
35

textual-vim

A Textual widget for a text area based on VIM.
Python
1
star
36

fediverse

Python
1
star
37

rightside

Python
1
star
38

pangeo_upload

Jupyter Notebook
1
star
39

nbbranch

Branching in the Jupyter Notebook
Jupyter Notebook
1
star
40

hydromap

Visualization tools for hydrology
CoffeeScript
1
star
41

cellflow

Jupyter Notebook
1
star
42

reacttrs

Attributes with superpowers
Python
1
star