Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/calysto/nbplayer
A console notebook player
https://github.com/calysto/nbplayer
jupyter notebook python
Last synced: 13 days ago
JSON representation
A console notebook player
- Host: GitHub
- URL: https://github.com/calysto/nbplayer
- Owner: Calysto
- License: bsd-3-clause
- Created: 2018-09-14T14:52:21.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-12-11T20:16:21.000Z (almost 6 years ago)
- Last Synced: 2024-08-06T03:03:21.087Z (4 months ago)
- Topics: jupyter, notebook, python
- Language: Python
- Size: 9.77 KB
- Stars: 11
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# nbplayer
A console notebook player
Ths is a console/terminal program for running a Jupyter notebook.
You start it up by specifying a notebook file:
```bash
$ nbplayer conx-notebooks/MNIST.ipynb
nbplayer 0.0.0: type `help` or `?` to see commands
```The first cell of the notebook will show in the In[0] area, followed by the nbplayer prompt:
```shell
Viewing: conx-notebooks/MNIST.ipynb
--------------------------------------------------------In [0]:
| # The MNIST Dataset
|
| In this notebook, we will create a neural network to recognize handwritt
|
| We will experiment with two different networks for this task. The first
|
| Let's begin by reading in the MNIST dataset and printing a short descripMNIST.ipynb [0/84] >
```
The prompt is composed of the name of the notebook, and the current cell/total cells.If you press enter, then you will execute that cell (if it is code) and then go to the next cell.
```bash
In [1]:>>> import conx as cx
MNIST.ipynb [1/84] >
```At the prompt, you can enter any of the following:
* kernal language expressions or statements
* empty line - execute current cell and advance
* n - goto next cell (skip this cell)
* p - goto previous cell
* NUMBER - goto cell #
* +AMOUNT - goto cell ahead, relative movement
* -AMOUNT - goto cell previous, relative movement
* --POSITION - from end
* ! shell command - execute command at the operating system (client side)
* q or ^d - quit nbplayerPossible future options:
* re search forward/reverse for cell with next match
* run all code cells up to here
* i - insert cell
* d - delete cell
* u - undo operation in stack
* r - redo operation in stack
* code - show only code (toggles on/off)