Skip to main content

3D visualization library

Project description

K3D Jupyter

Downloads Anaconda-Server Badge Build Status Total Alerts Language Grade: JavaScript Language Grade: Python

Jupyter notebook extension for 3D visualization.

Documentation: https://k3d-jupyter.org

Showcase:

points_cloud

streamlines

volume_rendering

transfer_function_editor

YouTube:

Volume renderer

Volume renderer

Volume renderer

Volume renderer

Try it Now!

Watch: Interactive showcase gallery

Jupyter version: Binder

Installation

PyPI

To install from PyPI use pip:

$ pip install k3d

When using Jupyter Notebook, remember to install and enable the k3d extension:

$ jupyter nbextension install --py --user k3d
$ jupyter nbextension enable --py --user k3d

When upgrading from an earlier version, use the following commands:

$ pip install -U k3d
$ jupyter nbextension install --py --user k3d
$ jupyter nbextension enable --py --user k3d

See below for instructions about JupyterLab installation.

Conda/Anaconda

To install from conda-forge use:

$ conda install -c conda-forge k3d

Installing directly from GitHub

To install directy from this repository (requires git and node.js + npm to build):

$ pip install git+https://github.com/K3D-tools/K3D-jupyter

This also makes possible installing the most up-to-date development version (same requirements):

$ pip install git+https://github.com/K3D-tools/K3D-jupyter@devel

To install any historical version, replace devel above with any tag or commit hash.

Source

For a development installation (requires npm and node.js),

$ git clone https://github.com/K3D-tools/K3D-jupyter.git
$ cd K3D-jupyter
$ pip install -e .

Then, if required, JupyterLab installation:

$ jupyter labextension install ./js

JupyterLab

Then, if required, JupyterLab installation:

Note: do not run this command inside K3D-jupyter directory.

$ jupyter labextension install @jupyter-widgets/jupyterlab-manager
$ jupyter labextension install k3d

Please notice that support for jupyterLab is still experimental.

Developer's How To

Please make sure to take a look at the HOW-TO.md document.

Code of Conduct

K3D-jupyter follows the Python Software Foundation Code of Conduct in everything we do.

Kudos

  • Travis is ❤️
  • OpenDreamKit is 🚀
  • Three.js is 🥇

Acknowledgments

Research Infrastructure project This package was created as part of the Horizon 2020 European OpenDreamKit (grant agreement #676541).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

k3d-2.14.5.tar.gz (9.7 MB view details)

Uploaded Source

Built Distribution

k3d-2.14.5-py2.py3-none-any.whl (15.1 MB view details)

Uploaded Python 2 Python 3

File details

Details for the file k3d-2.14.5.tar.gz.

File metadata

  • Download URL: k3d-2.14.5.tar.gz
  • Upload date:
  • Size: 9.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.8.2 keyring/23.4.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

File hashes

Hashes for k3d-2.14.5.tar.gz
Algorithm Hash digest
SHA256 d8818158ea83cce35386e02f396bea60a6f6c2f2590e7dcfe491b60c1f6952f8
MD5 f0cf46321d7c93fda7b86a0c259cbb31
BLAKE2b-256 8ef6012cb48767d3e2ac42605183d35fb53d9115f4a1fbfd85ce5ed924645a68

See more details on using hashes here.

File details

Details for the file k3d-2.14.5-py2.py3-none-any.whl.

File metadata

  • Download URL: k3d-2.14.5-py2.py3-none-any.whl
  • Upload date:
  • Size: 15.1 MB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.8.2 keyring/23.4.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

File hashes

Hashes for k3d-2.14.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 aab5fa76c6be3321c3898922fabd6f181b5967ccb38857e3f10f2bda448adf08
MD5 e3188b7a32dfe05625807ab3d86b9cf7
BLAKE2b-256 0d2be715ae0d087c11e139a6bd8353a490507e0af5b956baa862211cda1b2d2a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page