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)
Note: Command line arguments may be different, use jut --help
to get upto date command line options
Display first five cells
Display last five cells
Download the file and display first five cells
Usage
$jut debug/file.ipynb
...
$jut https://raw.githubusercontent.com/fastai/fastbook/master/06_multicat.ipynb --tail 10
...
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.24.tar.gz
(5.6 kB
view details)
Built Distribution
jut-0.0.24-py3-none-any.whl
(5.9 kB
view details)
File details
Details for the file jut-0.0.24.tar.gz
.
File metadata
- Download URL: jut-0.0.24.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.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ed77247cdc7ca72604d73ac4c9f161237467e2a252f83120c13f6ad70354dff |
|
MD5 | 6d395a686b16e0c1fd593b072308b34e |
|
BLAKE2b-256 | 054893fc38201696dc598adf345684889aba0dd516f62e18fb4ecac0af616148 |
File details
Details for the file jut-0.0.24-py3-none-any.whl
.
File metadata
- Download URL: jut-0.0.24-py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/2.7.16 Darwin/20.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3b324b8510961603e20b85b0833f2c763d465228015a1e68989b15d1f7f15ad |
|
MD5 | 013b612510649336e2c2ae99124f50e6 |
|
BLAKE2b-256 | ef43f766189518875257075dcd62b4832fead2c58922ed69a62578fa21be170d |