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: jut [OPTIONS]
Options:
-u, --url TEXT Render the ipynb file from the URL
-i, --input-file FILE File from the local file-system
-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
Display first five cells
Display last five cells
Download the file and display first five cells
Take input from stdin
$curl -s -N https://raw.githubusercontent.com/fastai/fastbook/master/06_multicat.ipynb | jut --stdin --head 5
...
Project details
Release history Release notifications | RSS feed
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.17.tar.gz
(5.4 kB
view hashes)
Built Distribution
jut-0.0.17-py3-none-any.whl
(5.7 kB
view hashes)