Skip to main content

A tool for viewing, editing and executing Jupyter Notebooks in the terminal

Project description

Build Status Code style: black

vinbterm

vinbterm is nbterm with some keybinding modifications, and setting edit mode as default.

The command is remained as nbterm, instead of "vinbterm".

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

Install

pip install vinbterm

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.

  • i: enter the edit mode, allowing to type into the cell.
  • esc: exit the edit mode and enter the command mode.

In command mode:

  • k or up: select cell above.
  • j or down: select cell below.
  • ctrl-k or ctrl-up: move cell above.
  • ctrl-j or ctrl-down: move cell below.
  • a: insert cell above.
  • b: insert cell below.
  • d: cut the cell.
  • y: copy the cell.
  • ctrl-p: paste cell above.
  • p: paste cell below.
  • c: set as code cell.
  • r: set as raw cell.
  • m: set as Markdown cell.
  • l: clear cell outputs.
  • ctrl-e: run cell.
  • enter or ctrl-r: run cell and select below.
  • ctrl-w or ctrl-s: save.
  • ctrl-q: exit.
  • ctrl-h: show help.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vinbterm-0.1.6.tar.gz (11.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vinbterm-0.1.6-py3-none-any.whl (12.5 kB view details)

Uploaded Python 3

File details

Details for the file vinbterm-0.1.6.tar.gz.

File metadata

  • Download URL: vinbterm-0.1.6.tar.gz
  • Upload date:
  • Size: 11.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.2

File hashes

Hashes for vinbterm-0.1.6.tar.gz
Algorithm Hash digest
SHA256 e141f65305e8ea96f5cea60864f2a706372e40db7f5a892d5efbbe522962533e
MD5 7e31393efcbb2753ca54ccf0feaa3c3b
BLAKE2b-256 005c9520ba770ec187f111a7a42c05929dc501e978a0e51516ca5e93b22a80d9

See more details on using hashes here.

File details

Details for the file vinbterm-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: vinbterm-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 12.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.2

File hashes

Hashes for vinbterm-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 202d0ea43f36e7e7c2a3a954824045e04777339136652f36ab77314df48a0366
MD5 fa8554b19ce232a0f9c695b4262134b7
BLAKE2b-256 50fb799c18932d77dc12d688b90211666fa0accd257a82ca74e36f7c290b6bfe

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page