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
  --stdin                    Receive the input from the stdin
  --help                     Show this message and exit.

ASCIICinema Demo

asciicast

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

Take input from stdin

$curl -s -N https://raw.githubusercontent.com/fastai/fastbook/master/06_multicat.ipynb | jut --stdin --head 5
...

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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: jut-0.0.18.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.18.tar.gz
Algorithm Hash digest
SHA256 e3d1fcaa79bb66fbd873ab4aa0b4278e48941d35a793905c16b45378286b1164
MD5 7363e81676460ba62ab9aac380476abb
BLAKE2b-256 b5e069354a387ff9a72800b0784df5b70f3b47c179132ce4d0d4fa4274e9aa97

See more details on using hashes here.

File details

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

File metadata

  • Download URL: jut-0.0.18-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.18-py3-none-any.whl
Algorithm Hash digest
SHA256 0314fb2bbd139bc2c76489892e5e9bdd0b52174cec37d458886765d465912141
MD5 c2c27d83956a5cb6ca9ad27b093f2a9e
BLAKE2b-256 3367292d9a05124ba3acc23d503063d972a001b5bc8dd66c40b9daded65fd84a

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