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.23.tar.gz
(5.7 kB
view details)
Built Distribution
jut-0.0.23-py3-none-any.whl
(5.9 kB
view details)
File details
Details for the file jut-0.0.23.tar.gz
.
File metadata
- Download URL: jut-0.0.23.tar.gz
- Upload date:
- Size: 5.7 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 | 80bb906b56a445f6803be0d19e979353a75776adf2be7506fe22b0956920711d |
|
MD5 | a705fda2b65073b60fc26b2b31cb1662 |
|
BLAKE2b-256 | a3c5d4dc24ca1e0e7e60554721b7263389e4565fd49d9a37a4fca5e92ea54179 |
File details
Details for the file jut-0.0.23-py3-none-any.whl
.
File metadata
- Download URL: jut-0.0.23-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 | 9535e35a6336b4b99e16505e0f808425fc43308421b29f72b3e70c0187939bec |
|
MD5 | 2012f0709c36f21e08c71213b46fe1ea |
|
BLAKE2b-256 | df93b99defc50840f771671292d73f1290b18943ed028b46cfd091e99ad7ad18 |