Jupyter bundler extension to export notebook as a docx file
Project description
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for jupyter_docx_bundler-0.1.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 386e8e4854b178c9eb6bff08e6d538aef4119f156a6afc0503c75e34dca09d9d |
|
MD5 | a3f69bccb826d26588fdf4561cd5fe1d |
|
BLAKE2b-256 | 805457a316233ef24ef43bfe619951d4141cd1c18fa3d9b2d7772c4a34733d30 |
Hashes for jupyter_docx_bundler-0.1.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20c827d443ac6bc83158ee62b0db80490b27544caeed5412ee95e41f0cd3270d |
|
MD5 | fc0964b42c3b5cccc545ef46417d54cb |
|
BLAKE2b-256 | 9cded7ea6ac1da7dc6c733c72e1acee783db51d9f157fb4285587b517cd1a612 |