Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
jupyter-docx-bundler
Advanced tools
Jupyter bundler extension to export notebook as a docx file
conda install -c conda-forge jupyter-docx-bundler
Make sure you have Pandoc installed, see installing-pandoc for instructions.
pip install jupyter-docx-bundler
The bundle extension uses metadata of the notebook, if you you provide it.
"title": "Notebook title"
"authors": [{"name": "author1"}, {"name": "author2"}]
"subtitle": "Notebook subtitle"
"date": "Notebook date"
The notebook metadata can be edited under Edit -> Edit Notebook Metadata.
You can hide individual code cells or just their inputs by defining cell tags:
nbconvert-remove-cell
: Remove the entire cellnbconvert-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. This may will change in the future.)
Cell tags can be shown by activating the cell toolbar under View -> Cell Toolbar -> Tags.
It 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.
To use the bundler direct from console the nbconvert utility can be used with target format docx:
jupyter nbconvert --execute --to=docx <source notebook>.ipynb --output <target document>.docx
The --execute
option should be used to ensure that the notebook is run before generation.
See CONTRIBUTING
FAQs
Jupyter bundler extension to export notebook as a docx file
We found that jupyter-docx-bundler demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.