A plugin for Jupyter that can save Jupyter notebooks as either
jupytext
Have you always wished Jupyter notebooks were plain text documents? Wished you could edit them in your favorite IDE? And get clear and meaningful diffs when doing version control? Then… Jupytext may well be the tool you’re looking for!
Jupytext is a plugin for Jupyter that can save Jupyter notebooks as either
- Markdown files (or MyST Markdown files, or R Markdown documents)
- Scripts in many languages.
Use cases
Common use cases for Jupytext are:
- Doing version control on Jupyter Notebooks
- Editing, merging or refactoring notebooks in your favorite text editor
- Applying Q&A checks on notebooks.
Install
You can install Jupytext with
pip install jupytext
- or
conda install jupytext -c conda-forge
.
Please note that Jupytext includes an extension for Jupyter Lab. In the latest version of Jupytext,