jupytext

Jupyter Notebooks as Markdown Documents, Julia, Python or R scripts

MIT License

Downloads
1.4M
Stars
6.4K
Committers
90

Bot releases are visible (Hide)

jupytext - Version 1.1.7-rc0

Published by mwouts over 5 years ago

Improvements

  • Added support for Scala notebook, by Tobias Frischholz (#253)
  • Markdown and R Markdown representations are now tested on all languages
  • Jupytext extensions now also work when the notebook is a text file (#213)

BugFixes

  • The Jupytext Menu in Jupyter Notebook is now compatible with jupyter_nbextensions_configurator (#178)
  • Entries in the Jupytext menu are updated when the menu is hovered on (#248)
  • Fixed link to .md files in the documentation (#255)
jupytext - Version 1.1.6

Published by mwouts over 5 years ago

Improvements

  • Jupytext now supports Javascript and Typescript, thanks to Hatem Hosny (#250)
  • Jupytext works with Python 3.8 as well

BugFixes

  • Fixed global auto pairing (#249)
jupytext - Version 1.1.4

Published by mwouts over 5 years ago

Improvements

  • New argument --set-kernel in Jupytext command line (#230)
  • Jupytext now accepts --to script or --to auto (#240)
  • Jupytext now has a real Sphinx documentation on readthedocs, thanks to Chris Holdgraf (#237)

BugFixes

  • Invalid notebooks may cause a warning, but not a fatal error (#234)
  • Jupyter server extension leaves the contents manager unchanged if it is a sub-class of Jupytext's CM (#236)
  • Fixed format inference when metadata is present but not format information (#239)
  • Preserve executable and encoding information in scripts with metadata (#241)
jupytext - Version 1.1.4-rc1

Published by mwouts over 5 years ago

Improvements

  • New argument --set-kernel in Jupytext command line (#230)

BugFixes

  • Invalid notebooks may cause a warning, but not a fatal error (#234)
  • Jupyter server extension leaves the contents manager unchanged if it is a sub-class of Jupytext's CM (#236)
jupytext - Version 1.1.4-rc0

Published by mwouts over 5 years ago

Improvements

  • New argument --kernel in Jupytext command line (#230)

BugFixes

  • Invalid notebooks may cause a warning, but not a fatal error (#234)
  • Jupyter server extension leaves the contents manager unchanged if it is a sub-class of Jupytext's CM (#236)
jupytext - Version 1.1.3

Published by mwouts over 5 years ago

Improvements

  • Support for IDL notebooks and .pro scripts (#232)
jupytext - Version 1.1.2

Published by mwouts over 5 years ago

Improvements

  • Jupytext's content manager has a new notebook_extensions option (#224, #183)
  • Cells can be made inactive in scripts with the active-ipynb cell tag (#226)

BugFixes

  • Directories ending in .jl (or .ipynb) are not notebooks (#228)
  • Empty notebooks have no language (#227)
jupytext - Version 1.1.1

Published by mwouts over 5 years ago

Improvements

  • Jupytext server extension leaves the contents manager unchanged when it is already a subclass of TextFileContentsManager (#218)
  • The base class for TextFileContentsManager defaults to FileContentsManager when LargeFileManager is not available (#217)
jupytext - Version 1.1.0

Published by mwouts over 5 years ago

Improvements

  • Markdown and R Markdown formats now support metadata (#66, #111, #188)
  • The light format for Scripts can use custom cell markers, e.g. Vim or VScode/PyCharm folding markers (#199)
  • Pandoc's Markdown format for Jupyter notebooks is available in Jupytext as md:pandoc (#208)

BugFixes

  • Jupytext's contents manager is now based on LargeFileManager to allow large file uploads (#210)
  • YAML header parsed with yaml.safe_load rather than yaml.load (#215)
  • IPython line magic can be split across lines (#209)
  • jupytext --to py rather than --to python in the README (#216)
jupytext - Version 1.1.0-rc2

Published by mwouts over 5 years ago

Improvements

  • Markdown and R Markdown formats now support metadata (#66, #111, #188)
  • The light format for Scripts can use custom cell markers, e.g. Vim or VScode/PyCharm folding markers (#199)
  • Pandoc's Markdown format for Jupyter notebooks is available in Jupytext as md:pandoc (#208)

BugFixes

  • Jupytext's contents manager is now based on LargeFileManager to allow large file uploads (#210)
  • YAML header parsed with yaml.safe_load rather than yaml.load
  • IPython line magic can be split across lines (#209)
jupytext - Version 1.1.0-rc1

Published by mwouts over 5 years ago

Improvements

  • Markdown and R Markdown formats now support metadata (#66, #111, #188)
  • The light format for Scripts can use custom cell markers, e.g. Vim or VScode/PyCharm folding markers (#199)
  • Pandoc's Markdown format for Jupyter notebooks is available in Jupytext as md:pandoc (#208)

BugFixes

  • Jupytext's contents manager is now based on LargeFileManager to allow large file uploads (#210)
  • YAML header parsed with yaml.safe_load rather than yaml.load
  • IPython line magic can be split across lines (#209)
jupytext - Version 1.1.0-rc0

Published by mwouts over 5 years ago

Improvements

  • Markdown and R Markdown formats now support metadata (#66, #111, #188)
  • The light format for Scripts can use custom cell markers, e.g. Vim or VScode/PyCharm folding markers (#199)

BugFixes

  • Jupytext's contents manager is now based on LargeFileManager to allow large file uploads (#210)
  • YAML header parsed with yaml.safe_load rather than yaml.load
  • IPython line magic can be split across lines (#209)
jupytext - Version 1.0.5

Published by mwouts over 5 years ago

BugFixes

  • Fix the error 'notebook file has changed on disk' when saving large notebooks (#207)
jupytext - Version 1.0.4

Published by mwouts over 5 years ago

Improvements

  • Wildcard are now supported on Windows (#202)
  • Trusted notebooks remain trusted when inputs cells are modified (#203)

BugFixes

  • Pre-commit mode adds the result of conversion to the commit (#200)
jupytext - Version 1.0.3

Published by mwouts over 5 years ago

Improvements

  • Matlab and Octave notebooks and scripts are now supported (#197)

BugFixes

  • notebook_metadata_filter = "all" now works (#196)
  • Default pairing in subfolders fixed in Jupyter Lab (#180)
jupytext - Version 1.0.2

Published by mwouts over 5 years ago

Improvements

  • Rename notebooks in pairs in the tree view (#190)
  • Associate .scm file extension with Scheme scripts (#192)
  • Added support for Clojure, by bzinberg (#193)

BugFixes

  • Allow spaces between ? or ! and python or bash command (#189)
jupytext - Version 1.0.1

Published by mwouts over 5 years ago

BugFixes

  • Exclude tests in package deployment (#184)
  • Jupytext's serverextension only runs selected init steps (#185)
  • Added an additional test for magic arguments (#111)
jupytext - Version 1.0.0

Published by mwouts over 5 years ago

Improvements

  • Jupytext now includes a Jupyter Notebook extension and a JupyterLab extension (#86).
  • Jupytext command line has more arguments: --paired-paths to list the paths for the paired representations of the notebook, and --sync to synchronise the content of all paired paths based on the most recent file (#146). In addition, the --from argument is optional even when the notebook is read from stdin (#148).
  • The pairing information, and more generally the notebook metadata can be edited with the CLL, see the --set-formats and the --update-metadata arguments (#141).
  • Jupytext can --pipe the text representation of a notebook to external programs like black or flake8 (#154, #142)
  • The Python representation of notebooks containing PEP8 cells is now expected to be PEP8 compliant (#154).
  • Format specification allow prefix and suffix for path and file name (#138, #142). Use ipynb,prefix/suffix.py:percent to pair the current notebook named notebook.ipynb to a script named prefixnotebooksuffix.py. Suffix and prefix can also be configured on the ipynb file, with the same syntax.
  • Introducing a new hydrogen format for scripts, which derives from percent. In that format Jupyter magic commands are not commented (#59, #126, #132).
  • Introducing a new bare format for scripts, which derives from light. That format has no cell marker. Use a notebook metadata filter {"jupytext": {"notebook_metadata_filter":"-all"}} if you want no YAML header (#152).
  • The default format for R script is now light, as for the other languages.
  • Added support for q/kdb+ notebooks (#161)
  • Python scripts or Markdown documents that have no Jupyter metadata receive a metadata filter that ensures that metadata is not exported back to the text representation (#124).
  • Metadata filters are represented as strings rather than dictionaries to make YAML headers shorter. Previous syntax from #105 is still supported. They were also renamed to notebook_metadata_filter and cell_metadata_filter.
  • Markdown and RMarkdown formats have a new option split_at_heading to split Markdown cells at heading (#130)

BugFixes

  • Main language of scripts is inferred from script extension. Fixes a round trip conversion issue for Python notebooks with a Javascript cell.
  • Non-Python scripts opened as notebooks in Jupyter are now correctly saved even when no matching kernel is found.
  • Jupyter magic commands like ls are commented in the light and R markdown format (#149).
  • Cell starting with %%html, %%latex are now commented out in the light, percent and Rmd formats (#179).
jupytext - Version 1.0.0 rc5

Published by mwouts over 5 years ago

Improvements

  • Jupytext command line has more arguments: --paired-paths to list the paths for the paired representations of the notebook, and --sync to synchronise the content of all paired paths based on the most recent file (#146). In addition, the --from argument is optional even when the notebook is read from stdin (#148).
  • The pairing information, and more generally the notebook metadata can be edited with the CLL, see the --set-formats and the --update-metadata arguments (#141).
  • Jupytext can --pipe the text representation of a notebook to external programs like black or flake8 (#154, #142)
  • The Python representation of notebooks containing PEP8 cells is now expected to be PEP8 compliant (#154).
  • Format specification allow prefix and suffix for path and file name (#138, #142). Use ipynb,prefix/suffix.py:percent to pair the current notebook named notebook.ipynb to a script named prefixnotebooksuffix.py. Suffix and prefix can also be configured on the ipynb file, with the same syntax.
  • Introducing a new hydrogen format for scripts, which derives from percent. In that format Jupyter magic commands are not commented (#59, #126, #132).
  • Introducing a new bare format for scripts, which derives from light. That format has no cell marker. Use a notebook metadata filter {"jupytext": {"notebook_metadata_filter":"-all"}} if you want no YAML header (#152).
  • The default format for R script is now light, as for the other languages.
  • Added support for q/kdb+ notebooks (#161)
  • Python scripts or Markdown documents that have no Jupyter metadata receive a metadata filter that ensures that metadata is not exported back to the text representation (#124).
  • Metadata filters are represented as strings rather than dictionaries to make YAML headers shorter. Previous syntax from #105 is still supported. They were also renamed to notebook_metadata_filter and cell_metadata_filter.
  • Markdown and RMarkdown formats have a new option split_at_heading to split Markdown cells at heading (#130)

BugFixes

  • Main language of scripts is inferred from script extension. Fixes a round trip conversion issue for Python notebooks with a Javascript cell.
  • Non-Python scripts opened as notebooks in Jupyter are now correctly saved even when no matching kernel is found.
  • Jupyter magic commands like ls are commented in the light and R markdown format (#149).

vs 1.0.0-rc0

  • Fixed support for notebooks with jupytext metadata from previous versions of Jupytext (#163)
  • Fixed round-trip conversion (#164 , #165)

vs 1.0.0-rc1

  • Added new line when writing ipynb, just like nbformat (#165)
  • Improved matching of preferred format when using prefixes/suffixes (#170)
  • Piping a notebook (e.g. in percent format) preserves the pairing information (e.g. light format)
  • Writing a notebook does not change the notebook object

vs 1.0.0-rc2

rc3 vs 1.0.0-rc2

  • Sorry, there was no rc3...

rc4 vs 1.0.0-rc2

  • Pairing of notebooks to a different folder even when notebook is at the root #174
  • Jupyter notebook and lab extensions are distributed with Jupytext #86

rc5 vs 1.0.0-rc4

  • Pairing folder is created when missing #176
  • Jupyter notebook and lab extensions are distributed with Jupytext #176
  • Html and Latex cell magics are supported #179
jupytext - Version 0.8.6

Published by mwouts almost 6 years ago

Improvements

  • The language_info section is not part of the default header any more. Language information is now taken from metadata kernelspec.language. (#105).
  • When opening a paired notebook, the active file is now the file that was originally opened (#118). When saving a notebook, timestamps of all the alternative representations are tested to ensure that Jupyter's autosave does not override manual modifications.
  • Jupyter magic commands are now commented per default in the percent format (#126, #132). Version for the percent format increases from '1.1' to '1.2'. Set an option comment_magics to false either per notebook, or globally on Jupytext's contents manager, or on jupytext's command line, if you prefer not to comment Jupyter magics.
  • Jupytext command line has a pre-commit mode (#121).
Package Rankings
Top 5.52% on Conda-forge.org
Top 0.79% on Pypi.org
Top 23.34% on Anaconda.org
Top 6.34% on Npmjs.org
Badges
Extracted from project README
CI Documentation Status codecov.io Code style: black GitHub language count Conda Version Pypi pyversions Binder:lab Binder:notebook launch - renku