Skip to main content

Jupyter notebook for terminal

Project description

About

A Jupyter notebook client for your terminal. Built on the excellent textual framework with image support from textual-image.

Demo

demo

Getting started

pip install netbook
jupyter-netbook [my_notebook.ipynb]

Terminal Support

Terminal Status Image Support Shift/Ctrl+Enter Support Notes
Kitty ✅ TGP ✅ Out of the box Remap some keybindings
Foot ✅ Sixel ✅ Out of the box Sixel support is flaky
Contour ✅ Sixel ✅ Out of the box
ITerm2 ✅ Sixel ✅ Out of the box ITerm2 image protocal would probably be supported in the future
Wezterm ✅ TGP ✅ Requires remapping
Windows Terminal ✅ Sixel ✅ Requires remapping Things kind of work, sometimes...
Ghosty 🤷 ✅ TGP ✅ Out of the box I expect textual support of ghosty to improve
Alacritty 🤷 ✅ Requires remapping It is quite unlikely that alacritty will support images
Tmux 🤷 ✅ Sixel 🤷 Not out of the box Not sure how to remap the key bindings
Zellij ✅ Out of the box Sixels seems to confuse it quite a bit

Frequently asked questions

Q: Why are icons in the toolbar all jumbled up?

A: You need to have Font Awesome installed. Or you can download nerd fonts that already have the glyphs patched in.

Q: How to remap the keys in my terminal?

A: Euporie, a related project, has some examples

Development

You need to have uv installed. To get set up just run

uv sync
uv run jupyter-netbook

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

netbook-0.2.1.tar.gz (2.6 MB view details)

Uploaded Source

Built Distribution

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

netbook-0.2.1-py3-none-any.whl (21.9 kB view details)

Uploaded Python 3

File details

Details for the file netbook-0.2.1.tar.gz.

File metadata

  • Download URL: netbook-0.2.1.tar.gz
  • Upload date:
  • Size: 2.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for netbook-0.2.1.tar.gz
Algorithm Hash digest
SHA256 0abd4567d694594489c2092a66bf8bad5d8bae9391a0c393d2391f57ddf8cdb9
MD5 76848d2e9b73b04b1322e875fb1f72ba
BLAKE2b-256 8a2f90841589f7cb8b63b6f630218a26d51a8e473ce26b9e864bd2de1efb33eb

See more details on using hashes here.

Provenance

The following attestation bundles were made for netbook-0.2.1.tar.gz:

Publisher: python-publish.yml on lyovushka/netbook

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file netbook-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: netbook-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 21.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for netbook-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5f176d353c00e642009bfc06e3610bde670e66c3c0c64f7f07112ad67e10a843
MD5 365a75cec0e21026e8b94682759a8026
BLAKE2b-256 9b6108c0ced9a15942ce380626d4b6a1f3d8d248a590e351b168c08343c02dd8

See more details on using hashes here.

Provenance

The following attestation bundles were made for netbook-0.2.1-py3-none-any.whl:

Publisher: python-publish.yml on lyovushka/netbook

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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