Jupyter extension for Jupytext
See original GitHub issueAn extension for Jupyter would make the configuration of paired notebooks easier. Rather than asking to edit the jupytext_formats
metadata, we should offer the user an interface where the user can select the desired notebook extensions (among ipynb, py, jl, R, md, Rmd; the order matters), and the format for each extension (default, light, percent, sphinx…).
The documentation on how to distribute a notebook extension is here. Extensions have to be written in Javascript, which I have almost never practiced before - help is welcome!
Useful references are:
- 4 ways to extend jupyter notebook by @parente
- the gist extension by @minrk
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:27 (26 by maintainers)
Top Results From Across the Web
Installation - Jupytext documentation - Read the Docs
Jupytext includes an extensions for Jupyter Notebook that adds a Jupytext section in the File menu. If the extension was not automatically installed,...
Read more >A JupyterLab extension for Jupytext - GitHub
This extension adds a few Jupytext commands to the command palette. Use these to select the desired ipynb/text pairing for your notebook. Jupytext...
Read more >Jupytext: The hack-free way to use Jupyter notebooks with git
Luckily the Python community has come to the rescue with a brilliant Jupyter notebook extension called Jupytext. Jupytext solves all of these issues...
Read more >jupyterlab-jupytext - npm
This extension adds a few Jupytext commands to the command palette. Use these to select the desired ipynb/text pairing for your notebook.
Read more >Jupytext for Notebooks - Visual Studio Marketplace
A Visual Studio Code extension that provides ability to open and execute script files as Jupyter Notebooks.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@mwouts Sorry for the delay! It looks like
JSONValue
is a custom type defined by@phosphor/coreutils
here: https://github.com/phosphorjs/phosphor/blob/cdb412e9dfb9a987b99143e4be79d477e5136832/packages/coreutils/src/json.ts#L21What this is saying is basically: “this could be anything” (it’s effectively untyped). In this specific case, I think the
jupytext
field is likely to be an object with a specific structure (including theformats
field you expect).You could do the following:
Or if you want to catch any unexpected values, a more verbose approach:
Hi everyone, I’m happy to let you know that
Both require the latest rc (now 1.0.0-rc3):
Feedback is welcome.
Also, before I let the 1.0.0 version go I’ll try to bind the extensions with the python package, as
nbdime
orplotly
seem to do.