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 details)
Built Distribution
jut-0.0.17-py3-none-any.whl
(5.7 kB
view details)
File details
Details for the file jut-0.0.17.tar.gz
.
File metadata
- Download URL: jut-0.0.17.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.8.3 Darwin/19.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b632a44ceb8571c589e18c87372e03b4cf595f61c46249140004b43b1c55bf5e |
|
MD5 | 198b9384ef64948b6b782d3c22b18bbd |
|
BLAKE2b-256 | 892b2dac9a9ad31d3bbdab9a58d29367ca91bc6dbb8f1c330ff18a631d1f6749 |
File details
Details for the file jut-0.0.17-py3-none-any.whl
.
File metadata
- Download URL: jut-0.0.17-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.8.3 Darwin/19.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 269a3c8401b4ef2acfebcd642d5da6cafbbd4d7df71e1b2ef3e2fadd382904fe |
|
MD5 | 54110b1095a03e0ebaced10091818edf |
|
BLAKE2b-256 | ae951021ec9536980498a6acac1816f8050f513b8028e14b3c23af6f095854fe |