CmdID

CmdID / Commands

jupytext

Convert Jupyter notebooks to plain text documents, and back again. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Turn a notebook into a paired .ipynb/.py notebook

jupytext --set-formats ipynb,py path/to/notebook.ipynbIdentify

Convert a notebook to a .py file

jupytext --to py path/to/notebook.ipynbIdentify

Convert a .py file to a notebook with no outputs

jupytext --to notebook path/to/notebook.pyIdentify

Convert a .md file to a notebook and run it

jupytext --to notebook --execute path/to/notebook.mdIdentify

Update the input cells in a notebook and preserve outputs and metadata

jupytext --update --to notebook path/to/notebook.pyIdentify

Update all paired representations of a notebook

jupytext --sync path/to/notebook.ipynbIdentify