Skip to content

Releases: mwouts/jupytext

Version 0.8.0

10 Oct 18:22
Compare
Choose a tag to compare

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).

Version 0.7.2

30 Sep 22:40
Compare
Choose a tag to compare

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)

Version 0.7.1

23 Sep 23:13
Compare
Choose a tag to compare

BugFixes

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

Version 0.7.0

23 Sep 22:24
Compare
Choose a tag to compare

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)

Version 0.7.0rc0

22 Sep 07:45
Compare
Choose a tag to compare
Version 0.7.0rc0 Pre-release
Pre-release

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)

Version 0.6.5

13 Sep 04:34
d9bb5aa
Compare
Choose a tag to compare

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)

Version 0.6.4

11 Sep 23:31
cc7e9df
Compare
Choose a tag to compare

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)

Version 0.6.3

07 Sep 00:36
fcbb17e
Compare
Choose a tag to compare

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)

Version 0.6.2

05 Sep 22:19
01f2789
Compare
Choose a tag to compare

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)

Version 0.6.1

31 Aug 06:46
Compare
Choose a tag to compare

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)