
Security News
minimatch Patches 3 High-Severity ReDoS Vulnerabilities
minimatch patched three high-severity ReDoS vulnerabilities that can stall the Node.js event loop, and Socket has released free certified patches.
ipynb-py-convert
Advanced tools
Convert .py files runnable in VSCode/Python or Atom/Hydrogen to jupyter .ipynb notebooks and vice versa
Atom/Hydrogen or VSCode/Python allows creating a python files split into cells with # %% separators with the ability to run cells via backend Jupyter session and interactively show results back.
More examples: Jupyter Python VSCode examples, Atom/Hydrogen Getting Started.
ipynb-py-convert python module converts files: .ipynb to .py and .py to .ipynb.
ipynb-py-convert is a fork of the vscode-ipynb-py-converter.
conda install -c defaults -c conda-forge ipynb-py-convert
or
pip install ipynb-py-convert
python>=3.7, setting set PYTHONUTF8=1 in Windows console and use ipynb-py-convert for UTF-8 files only. If using Git-Bash on Windows setting:export LANG=C.UTF-8
export PYTHONIOENCODING=utf-8
export PYTHONUTF8=1
should be enough. Also try setting default Bash settings to UTF-8: [Options] - [Text] - [Locale / Character set] - [C / UTF-8]. It might affect all Bash runs so there would be no need to setting encoding every time.
ipynb-py-convert examples/plot.py examples/plot.ipynb
or
ipynb-py-convert examples/plot.ipynb examples/plot.py
VSCode

Markdown cells are converted to python multiline strings '''. Code cells are left as is. # %% is used by vscode as the cell marker on which 'Run Cell' action is available.
Jupyter ipynb notebook

FAQs
Convert .py files runnable in VSCode/Python or Atom/Hydrogen to jupyter .ipynb notebooks and vice versa
We found that ipynb-py-convert 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.

Security News
minimatch patched three high-severity ReDoS vulnerabilities that can stall the Node.js event loop, and Socket has released free certified patches.

Research
/Security News
Socket uncovered 26 malicious npm packages tied to North Korea's Contagious Interview campaign, retrieving a live 9-module infostealer and RAT from the adversary's C2.

Research
An impersonated golang.org/x/crypto clone exfiltrates passwords, executes a remote shell stager, and delivers a Rekoobe backdoor on Linux.