在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:m-rossi/jupyter-docx-bundler开源软件地址:https://github.com/m-rossi/jupyter-docx-bundler开源编程语言:Python 98.8%开源软件介绍:Jupyter docx bundler extensionJupyter bundler extension to export notebook as a docx file InstallationUsing conda
Using pipMake sure you have Pandoc installed, see installing-pandoc for instructions.
UsageAdding MetadataThe bundle extension uses metadata of the notebook, if you you provide it.
The notebook metadata can be edited under Edit -> Edit Notebook Metadata. Hiding inputs or complete code cellsYou can hide individual code cells or just their inputs by defining cell tags:
(Currently there are no default values configured for these tags, the ones listed above are defined in my code and not in nbconvert. This may will change in the future.) Cell tags can be shown by activating the cell toolbar under View -> Cell Toolbar -> Tags. Hiding all inputsIt is also possible to hide all inputs. To achive this you need to add the following lines to your notebook metadata: {
"jupyter-docx-bundler": {
"exclude_input": "True"
}
} The notebook metadata can be edited under Edit -> Edit Notebook Metadata. Direct call from console (nbconvert)To use the bundler direct from console the nbconvert utility can be used with target format docx:
The DevelopmentSee CONTRIBUTING |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论