Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Interactive 3D graphics for the Jupyter Notebook and JupyterLab, using Three.js and Jupyter Widgets.
Readme
A Python / ThreeJS bridge for Jupyter Widgets.
Using pip
:
pip install pythreejs
or conda
:
conda install -c conda-forge pythreejs
For a development install, see the contributing guide.
The extension should then be installed automatically for your Jupyter client.
For JupyterLab
<3
, you may also need to ensurenodejs
is installed, and rebuild the application:
# conda install -c cond-forge 'nodejs>=12' jupyter lab build
If the extension is not automatically installed, you can manually enable it
jupyter nbextension list
jupyter nbextension install --py --symlink --sys-prefix pythreejs
jupyter nbextension enable --py --sys-prefix pythreejs
jupyter nbextension list
You should see:
Known nbextensions:
...
jupyter-js-widgets/extension enabled
- Validating: OK
Note for developers: the
--symlink
argument on Linux or MacOS allows one to modify the JavaScript code in-place. This feature is not available on Windows.
To perform a source installation:
## ensure you have nodejs install, e.g. with conda
# conda install -c conda-forge 'nodejs>=12'
jupyter labextension list
jupyter labextension install --no-build @jupyter-widgets/jupyterlab-manager
jupyter labextension install --no-build jupyter-datawidgets/extension
jupyter labextension install jupyter-threejs
jupyter labextension list
You should see:
JupyterLab v...
...
jupyterlab-datawidgets v... enabled OK
@jupyter-widgets/jupyterlab-manager v... enabled OK
jupyter-threejs v... enabled OK
This approach is not recommended for JupyterLab 3, which enables federated modules, installed via
pip
,conda
or other package managers, and does not require rebuilding the entire application.
Using pip
:
pip uninstall pythreejs
or conda
:
conda uninstall pythreejs
If you applied any manual steps above, it may be necessary to remove the
jupyter nbextension disable --py --sys-prefix pythreejs
jupyter labextension uninstall jupyter-threejs
This software is licensed under the BSD-3-Clause License.
FAQs
Interactive 3D graphics for the Jupyter Notebook and JupyterLab, using Three.js and Jupyter Widgets.
We found that pythreejs demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.