Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/edgarogh/ipynbat
View .ipynb files in your terminal
https://github.com/edgarogh/ipynbat
cat jupyter jupyter-notebook rust terminal
Last synced: 19 days ago
JSON representation
View .ipynb files in your terminal
- Host: GitHub
- URL: https://github.com/edgarogh/ipynbat
- Owner: edgarogh
- License: gpl-3.0
- Created: 2021-05-31T17:31:47.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-06-01T17:51:34.000Z (over 3 years ago)
- Last Synced: 2024-10-08T11:05:26.577Z (about 1 month ago)
- Topics: cat, jupyter, jupyter-notebook, rust, terminal
- Language: Rust
- Homepage:
- Size: 23.4 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ipynbat
Kinda like `cat` but only for Jupyter Notebooks + it goes full LSD-grade rainbow colors if its stdout looks like a TTY. Simultaneously very different from `cat` because it doesn't concatenate stuff and just displays the first file you give it.
This project is very very WIP and it `panic!`s a lot. Actually there's no proper error handling whatsoever for the time being.
## Features
- [x] Display a nice terminal representation of a Jupyter notebook
- [ ] Actually concatenates file like its name suggests
- [ ] Can run notebooks by itself (W.I.P, currently displays cached cell output)
- [x] Low-quality rip-off of [`bat`](https://github.com/sharkdp/bat) 's terminal UI style## Install
`cargo install --git https://github.com/edgarogh/ipynbat --branch main` works.
## Contributions
Don't.
The project's structure is too unstable at the moment, and the code is horrible.
## License & credits
You can enjoy `ipynbat` under the GPL-3.0 license. As jokingly said above, the style and color of its output is more than inspired from the great [`bat`](https://github.com/sharkdp/bat) project (licensed as MIT or Apache-2.0) that also happens to be written in Rust; make sure to install it because it is incredibly more useful, and actually concatenates stuff.