[jupyter] [ANN] nbconvert 5.2.1 release

110 views
Skip to first unread message

Michael Pacer

unread,
May 25, 2017, 11:07:00 PM5/25/17
to jup...@googlegroups.com
We are pleased to announce the release of nbconvert 5.2.1. Nbconvert is the tool you need to do things with your notebooks (after they are written). 

# Installation
pip install -U nbconvert 

# Major features

In this release (along with the usual bugfixes and documentation improvements, which are legion) we have a few new major features that have been requested for a long time: 

## Global Content Filtering

You now have the ability to remove input or output from code cells, markdown cells and the input and output prompts. The easiest way to access all of these is by using traitlets like TemplateExporter.exclude_input = True (or, for example HTMLExporter.exclude_markdown = True if you wanted to make it specific to HTML output). On the command line if you just want to not have input or output prompts just use --no-prompt.

## Execute notebooks from a function

You can now use the executenb function to execute notebooks as though you ran the execute preprocessor on the notebooks. It returns the standard notebook and resources options. 

## Remove cells based on regex pattern

This removes cells based on their matching a regex pattern (by default, empty cells). This is the RegexRemovePreprocessor

## Script exporter entrypoints for nonpython scripts

Now there is an entrypoint for having an exporter specific to the type of script that is being exported. While designed for use with the IRkernel in particular (with a script exporter focused on exporting R scripts) other non-python kernels that wish to have a language specific exporter can now surface that directly. 

# Credits

This release has been larger than previous releases. In it 33 authors contributed a total of 546 commits. 

Many thanks to the following individuals who contributed to this release (in alphabetical order):

* Adam Chainz
* Andreas Mueller
* Bartosz T
* Benjamin Ragan-Kelley
* Carol Willing
* Damián Avila
* Elliot Marsden
* Gao, Xiang
* Jaeho Shin
* Jan Schulz
* Jeremy Kun
* Jessica B. Hamrick
* John B Nelson
* juhasch
* Livia Barazzetti
* M Pacer
* Matej Urbas
* Matthias Bussonnier
* Matthias Geier
* Maximilian Albert
* Michael Scott Cuthbert
* Nicholas Bollweg
* Paul Gowder
* Paulo Villegas
* Peter Parente
* Philipp A
* Scott Sanderson
* Srinivas Reddy Thatiparthy
* Sylvain Corlay
* Thomas Kluyver
* Till Hoffmann
* Xiang Gao
* YuviPanda

Enjoy converting!

Cheers,
M

Matthias Bussonnier

unread,
May 26, 2017, 12:03:27 AM5/26/17
to jup...@googlegroups.com
Thanks ! That's great congratulation on the release !

--
M (the other one)
> --
> You received this message because you are subscribed to the Google Groups
> "Project Jupyter" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jupyter+u...@googlegroups.com.
> To post to this group, send email to jup...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jupyter/CAM3SX44t_fxfwb9JMwPcb9_3rQQHnikXAdAkbkV9aBuKYY3DCQ%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.

Damián Avila

unread,
May 26, 2017, 8:31:33 AM5/26/17
to jup...@googlegroups.com
Congrats on the release Michael !!

Cheers.


> To post to this group, send email to jup...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jupyter/CAM3SX44t_fxfwb9JMwPcb9_3rQQHnikXAdAkbkV9aBuKYY3DCQ%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+unsubscribe@googlegroups.com.

To post to this group, send email to jup...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Damián Avila

Brian Granger

unread,
May 28, 2017, 12:16:10 AM5/28/17
to Project Jupyter
Many congrats Mike!
>> > email to jupyter+u...@googlegroups.com.
>> > To post to this group, send email to jup...@googlegroups.com.
>> > To view this discussion on the web visit
>> >
>> > https://groups.google.com/d/msgid/jupyter/CAM3SX44t_fxfwb9JMwPcb9_3rQQHnikXAdAkbkV9aBuKYY3DCQ%40mail.gmail.com.
>> > For more options, visit https://groups.google.com/d/optout.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Project Jupyter" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to jupyter+u...@googlegroups.com.
>> To post to this group, send email to jup...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/jupyter/CANJQusVRqrk6SbH147p%3DzAp7vcY-DuQY%2BAV-QqA8FnGHrUv_Wg%40mail.gmail.com.
>> For more options, visit https://groups.google.com/d/optout.
>
>
>
>
> --
> Damián Avila
>
> --
> You received this message because you are subscribed to the Google Groups
> "Project Jupyter" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jupyter+u...@googlegroups.com.
> To post to this group, send email to jup...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jupyter/CAH%2BmRR2krEjGJKRWGnt_xt8%2B4kVr%2B5FySRA-6P%2BBjtB5ZsPwAw%40mail.gmail.com.
>
> For more options, visit https://groups.google.com/d/optout.



--
Brian E. Granger
Associate Professor of Physics and Data Science
Cal Poly State University, San Luis Obispo
@ellisonbg on Twitter and GitHub
bgra...@calpoly.edu and elli...@gmail.com
Reply all
Reply to author
Forward
0 new messages