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
  --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.20.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

jut-0.0.20-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: jut-0.0.20.tar.gz
  • Upload date:
  • Size: 5.5 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.20.tar.gz
Algorithm Hash digest
SHA256 f97a0a7acd4ba9c4f01f4157161c3c669317cbdcac756ec9eee75f17ee51f1da
MD5 003a9d93296ebc504a70b7295c460afc
BLAKE2b-256 0ad9187d1c594a74087b2c5c80923be33bdc017093df05183a915bfda2c22f0e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: jut-0.0.20-py3-none-any.whl
  • Upload date:
  • Size: 5.8 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.20-py3-none-any.whl
Algorithm Hash digest
SHA256 c109423d9f2de0a48fe4e1d50083f654de099b0b3ee3f6f75ad061872f3eba4c
MD5 e87b19d468da5edf732b091d48ec03ef
BLAKE2b-256 74cfa790400607055c06b8ebb8a66c684857d14179b419720da263c82bf7ae47

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