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: 3 months 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-05-15T04:37:14.210Z (6 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)