jupytext

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

MIT License

Downloads
1.4M
Stars
6.4K
Committers
90

Bot releases are hidden (Show)

jupytext - Version 0.8.6 rc1

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).
jupytext - Version 0.8.6 rc0

Published by mwouts almost 6 years ago

  • 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 - Version 0.8.5

Published by mwouts almost 6 years ago

Improvements

  • bash scripts as notebooks (#127)
  • R scripts with .r extension are supported (#122)
  • Jupytext selects the first kernel that matches the language (#120)
jupytext - Version 0.8.4

Published by mwouts almost 6 years ago

Improvements

  • Notebook metadata is filtered - only the most common metadata are stored in the text representation (#105)
  • New config option freeze_metadata on the content manager and on the command line interface (defaults to False). Use this option to avoid creating a YAML header or cell metadata if there was none initially. (#110)
  • Language magic arguments are preserved in R Markdown, and also supported in light and percent scripts (#111, #114, #115)
  • First markdown cell exported as a docstring when using the Sphinx format (#107)

BugFixes

  • percent format has a fail-safe for code cells with square brackets in the title (#116)
jupytext - Version 0.8.4 rc1

Published by mwouts almost 6 years ago

Improvements

  • Notebook metadata is filtered - only the most common metadata are stored in the text representation (#105)
  • New config option additional_metadata_on_text_files on the content manager. Defaults to True. Change its value to False to avoid creating a YAML header or cell metadata if there was none initially (#110)
  • Language magic arguments are preserved in R Markdown, and also supported in light and percent scripts (#111, #114)
  • First markdown cell exported as a docstring when using the Sphinx format (#107)
jupytext - Version 0.8.4 rc0

Published by mwouts almost 6 years ago

Improvements

  • Notebook metadata is filtered - only the most common metadata are stored in the text representation (#105)
  • New config option additional_metadata_on_text_files on the content manager. Defaults to True. Change its value to False to avoid creating a YAML header or cell metadata if there was none initially (#110)
  • Language magic arguments are preserved (#111)
  • First markdown cell exported as a docstring when using the Sphinx format (#107)
jupytext - Version 0.8.3

Published by mwouts about 6 years ago

Improvements

  • Frozen cells are supported in R Markdown, light and percent scripts (#101)
  • Inactive cells extended to percent scripts (#108)
  • jupytext gains a --version argument (#103)
  • "ExecuteTime" cell metadata is not included in the text representation anymore (#106)
jupytext - Version 0.8.2

Published by mwouts about 6 years ago

Improvements

  • Round trip conversion testing with jupytext --test was improved (#99)
  • Round trip conversion tested on Jake Vanderplas' Python for Data Science Handbook.

BugFixes

  • Nested lists and dictionaries are now supported in notebook metadata
  • Final empty code cell supported in Sphinx representation
jupytext - Version 0.8.1

Published by mwouts about 6 years ago

BugFixes

  • Sphinx format tested on World population notebook (#97)
  • Mirror test made stronger on this occasion!
  • Markdown representation recognize Julia, Scheme and C++ code cells as such
  • Light representation of Scheme and C++ notebooks fixed (#61)
jupytext - Version 0.8.0

Published by mwouts about 6 years ago

Improvements

  • All jupytext related metadata goes to a jupytext section (#91). Please make sure your collaborators use the same version of Jupytext, as the new version can read previous metadata, but not the opposite.
  • Notebooks extensions can be prefixed with any prefix of at most three chars (#87).
  • Export of the same notebook to multiple formats is now supported. To export to all python formats, plus .ipynb and .md, use "jupytext": {"formats": "ipynb,pct.py:percent,lgt.py:light,spx.py:sphinx,md"},.
  • README includes a short section on how to extend light and percent formats to more languages (#61).
  • Jupytext's contents manager accepts the auto extension in default_jupytext_formats (#93).
  • All Jupyter magics are escaped in light scripts and R markdown documents. Escape magics in other formats with a comment_magics metadata (true or false), or with the contents manager comment_magics global flag (#94).

BugFixes

  • Trusting notebooks made functional again.
  • Command line jupytext returns a meaningful error when no argument is given.
  • Fixed global pairing configuration (#95).
jupytext - Version 0.7.2

Published by mwouts about 6 years ago

Improvements

  • light and percent formats made available for scheme and cpp notebooks. Adding more formats is straightforward - just add a new entry to _SCRIPT_EXTENSIONS in languages.py, a sample notebook and a mirror test (#61)
  • Format name is automatically appended to extension in jupytext_formats when notebook is loaded/saved.

BugFixes

  • Notebooks extensions can only be prefixed with .nb (#87)
jupytext - Version 0.7.1

Published by mwouts about 6 years ago

BugFixes

  • Markdown cells header in sphinx gallery format may have a space between first # and following.
jupytext - Version 0.7.0

Published by mwouts about 6 years ago

Improvements

  • Jupytext can read and write notebooks as Hydrogen/VScode/Spyder/PyCharm compatible scripts (cells starting with # %%) (#59)
  • Jupytext can read and write notebooks as Sphinx-gallery compatible scripts (#80)
  • Metadata are supported for all cell types in light python and percent formats (#66). Due to this, light python format version is now 1.3. Light python notebooks in versions 1.1 and 1.2 are still readable.
  • Command line jupytext has a from argument, and now accepts notebook from the standard input.

BugFixes

  • Fix merging of input and output notebooks (#83)
  • Removed extra new line on stdout in command line jupytext (#84)
jupytext - Version 0.7.0rc0

Published by mwouts about 6 years ago

Improvements

  • Jupytext can read and write notebooks as Hydrogen/VScode/Spyder/PyCharm
    compatible scripts (cells starting with # %%) (#59)
  • Jupytext can read and write notebooks as Sphinx-gallery compatible scripts (#80)
  • Metadata are supported for all cell types in light python and percent
    formats (#66). Due to this, light python format version is now 1.3. Light python
    notebooks in versions 1.1 and 1.2 are still readable.
  • Command line jupytext has a from argument, and now accepts notebook from
    the standard input.

BugFixes

  • Fix merging of input and output notebooks (#83)
  • Removed extra new line on stdout in command line jupytext (#84)
jupytext - Version 0.6.5

Published by mwouts about 6 years ago

Improvements

  • Code lines that start with a quotation mark in Jupyter are commented in the
    corresponding Python and Julia scripts (#73)
  • Update pypy, add flake8 tests on Travis CI (#74)

BugFixes

  • Import notebook.transutils before notebook.services.contents.filemanager (#75)
jupytext - Version 0.6.4

Published by mwouts about 6 years ago

Improvements

  • Jupytext will not load paired notebook when text representation is out of date (#63)
  • Package tested against Python 3.7 (#68)

BugFixes

  • Allow unicode characters in notebook path (#70)
  • Read README.md as unicode in setup.py (#71)
jupytext - Version 0.6.3

Published by mwouts about 6 years ago

Improvements

  • Lighter cell markers for Python and Julia scripts (#57). Corresponding file
    format version at 1.2. Scripts in previous version 1.1 can still be opened.
  • New screenshots for the README.

BugFixes

  • Command line conversion tool jupytext fixed on Python 2.7 (#46)
jupytext - Version 0.6.2

Published by mwouts about 6 years ago

Improvements

  • Initial support for Jupyter notebooks as Julia scripts (#56)
  • Command line conversion tool jupytext has explicit to and output
    options (#46)
  • Round trip test with jupytext --test improved (#54)
  • Improved README (#51)

BugFixes

  • testfixtures now in requirements (#55)
  • Empty code cells are now preserved (#53)
jupytext - Version 0.6.1

Published by mwouts about 6 years ago

Improvements

  • Package and conversion script renamed from nbrmd to jupytext.
  • Cell parsing and exporting done in two specialized classes. This is way
    easier to read. Pylint score at 9.9 !
  • Python file format updated to 1.1: default end of cell for python scripts is
    one blank space. Two blank spaces are allowed as well. Now you can reformat
    code in Python IDE without breaking notebook cells (#38).
  • Added support for plain markdown files (#40, #44).
  • Demonstration notebooks more user friendly (#45).
  • Command line tool simpler to use (#46).
  • Start code patterns present in Jupyter cells are escaped.
  • Default nbrmd_format is empty (mwouts/nbsrc/#5): no Jupyter notebook
    is created on disk when the user opens a Python or R file and saves it from
    Jupyter, unless the users asks for it by setting nbrmd_format.

BugFixes

  • Fixed message in the nbsrc script (#43)
  • Technical metadata don't appear any more in scripts unless required (#42)
  • Code cells that are fully commented remain code cells after round trip (#41)
jupytext - Version 0.5.4

Published by mwouts about 6 years ago

  • R to Rmd conversion using nbrmd compares well to knitr::spin #26
  • coverage improved
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