Jupyter bundler extension to export notebook as a docx file
Project description
Jupyter bundler extension to export notebook as a docx file
Install
Installing from git
pip install git+https://github.com/m-rossi/jupyter_docx_bundler.git jupyter bundlerextension enable --py jupyter_docx_bundler --sys-prefix
Installing with pip
pip install jupyter_docx_bundler jupyter bundlerextension enable --py jupyter_docx_bundler --sys-prefix
Usage
Adding Metadata
The bundle extension uses metadata of the notebook, if you you provide it.
You can add a title by adding "name": "Notebook name"
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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | beef58f98220cd987ec5363138478137a382cfab3cc1715101b636c20a7c83ec |
|
MD5 | 30ba3b74a1722567ef177ce87d4a352d |
|
BLAKE2b-256 | 0e72111b8c052a5bac657c216b5d6f1bc5966fcd9333f256c2f8a30bca4165f0 |
Hashes for jupyter_docx_bundler-0.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f888aba64e2ac47685f9ba9c433e972376b110b55cc12a7f2cee77d95094e65f |
|
MD5 | 3b41f1e818ba2aed99bb26687f4fffb9 |
|
BLAKE2b-256 | f3496e6ec3b0eeab901e05dbcf6c66dc39d4d69027c48c1de417407f62b975ee |