Skip to main content

Jupyter bundler extension to export notebook as a docx file

Project description

PyPi Version

Jupyter bundler extension to export notebook as a docx file

Install

Installing with pip

pip install jupyter_docx_bundler
jupyter bundlerextension enable --py jupyter_docx_bundler --sys-prefix

Installing with conda

conda install -c mrossi jupyter_docx_bundler

Usage

Adding Metadata

The bundle extension uses metadata of the notebook, if you you provide it.

  • You can add a title by adding "title": "Notebook title"

  • You can add authors by adding "authors": [{"name": "author1"}, {"name": "author2"}]

The notebook metadata can be edited under Edit -> Edit Notebook Metadata.

Hiding inputs or complete code cells

You can hide individual code cells or just their inputs by defining cell tags:

  • nbconvert-remove-cell: Remove the entire cell

  • nbconvert-remove-input: Remove the input code of the cell

(Currently there are no default values configured for these tags, the ones listed above are defined in my code and not in `nbconvert <https://github.com/jupyter/nbconvert>`__. This may will change in the future.)

Cell tags can be shown by activating the cell toolbar under View -> Cell Toolbar -> Tags.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jupyter_docx_bundler-0.1.2.tar.gz (3.9 kB view hashes)

Uploaded Source

Built Distribution

jupyter_docx_bundler-0.1.2-py2.py3-none-any.whl (5.8 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page