Skip to main content

Render Jupyter Notebook in the terminal

Project description

jut - JUpyter notebook Terminal viewer.

The command line tool view the IPython/Jupyter notebook in the terminal.

Install

pip install jut

Usage

$jut --help
Usage: cli.py [OPTIONS] PATH

Options:
  -he, --head INTEGER RANGE  Display first n cells. Default is 10
  -t, --tail INTEGER RANGE   Display last n cells
  -p, --single-page          Should the result be in a single page?
  -f, --full-display         Should all the contents in the file displayed?
  --force-colors             Force colored output even if stdout is not a
                             terminal

  -s, --start INTEGER RANGE  Display the cells starting from the cell number
  -e, --end INTEGER RANGE    Display the cells till the cell number
  --exclude-output-cells     Exclude the notebook output cells from the output
  --no-cell-border           Don't display the result in a cell with border
  --help                     Show this message and exit.

ASCIICinema Demo (First version)

asciicast

Note: Command line arguments may be different, use jut --help to get upto date command line options

Display first five cells

jut-head-example

Display last five cells

jut-tail-example

Download the file and display first five cells

jut-download-url

Usage

$run jut debug/file.ipynb
...
$jut https://raw.githubusercontent.com/fastai/fastbook/master/06_multicat.ipynb --tail 10
...

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

jut-0.0.21.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

jut-0.0.21-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file jut-0.0.21.tar.gz.

File metadata

  • Download URL: jut-0.0.21.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/2.7.16 Darwin/20.3.0

File hashes

Hashes for jut-0.0.21.tar.gz
Algorithm Hash digest
SHA256 fee3ddd46162735ea2a2c5a5beb8496a9620fbbd7d19fe716d77b61fc23f72c1
MD5 c8e7b44c7b306511ad865bd6482e0a1d
BLAKE2b-256 86db182c8b6ad0bdd24428f442c4c59394a140239b40ccdc361200f04f48a826

See more details on using hashes here.

File details

Details for the file jut-0.0.21-py3-none-any.whl.

File metadata

  • Download URL: jut-0.0.21-py3-none-any.whl
  • Upload date:
  • Size: 6.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/2.7.16 Darwin/20.3.0

File hashes

Hashes for jut-0.0.21-py3-none-any.whl
Algorithm Hash digest
SHA256 4f888724eca5b031c25d4a1a7c5e3a514f9766f3924bebd9fdc40016a4e8aa51
MD5 c2d4250674a259e55218128180264a54
BLAKE2b-256 af3fa44990cebc99c37b0da5997f8aee30dbfd87d8dd3244d3da89c775f4ed2d

See more details on using hashes here.

Supported by

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