Skip to main content

3D visualization library

Project description

# K3D Jupyter

[![Downloads](https://pepy.tech/badge/k3d)](https://pepy.tech/project/k3d) [![Anaconda-Server Badge](https://anaconda.org/conda-forge/k3d/badges/downloads.svg)](https://anaconda.org/conda-forge/k3d) [![Build Status](https://travis-ci.org/K3D-tools/K3D-jupyter.svg)](https://travis-ci.org/K3D-tools/K3D-jupyter) [![Total Alerts](https://img.shields.io/lgtm/alerts/g/K3D-tools/K3D-jupyter.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/K3D-tools/K3D-jupyter/alerts/) [![Language Grade: JavaScript](https://img.shields.io/lgtm/grade/javascript/g/K3D-tools/K3D-jupyter.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/K3D-tools/K3D-jupyter/context:javascript) [![Language Grade: Python](https://img.shields.io/lgtm/grade/python/g/K3D-tools/K3D-jupyter.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/K3D-tools/K3D-jupyter/context:python)

Jupyter notebook extension for 3D visualization.

![points_cloud](imgs/points_cloud.gif)

![streamlines](imgs/streamlines.gif)

![volume_rendering](imgs/vr.gif)

![transfer_function_editor](imgs/tf_edit.gif)

#### YouTube:

[![Volume renderer](https://img.youtube.com/vi/zCeQ_ZXy_Ps/0.jpg)](https://www.youtube.com/watch?v=zCeQ_ZXy_Ps)

[![Volume renderer](https://img.youtube.com/vi/9evYSq3ieVs/0.jpg)](https://www.youtube.com/watch?v=9evYSq3ieVs)

[![Volume renderer](https://img.youtube.com/vi/DbCiauTuJrU/0.jpg)](https://www.youtube.com/watch?v=DbCiauTuJrU)

[![Volume renderer](https://img.youtube.com/vi/wIbBpUlB5vc/0.jpg)](https://www.youtube.com/watch?v=wIbBpUlB5vc)

## Try it Now!

Watch: [Interactive showcase gallery](https://k3d-jupyter.org/showcase/index.html)

Documentation: [https://k3d-jupyter.org](https://k3d-jupyter.org)

Jupyter version: [![Binder](https://mybinder.org/badge.svg)](https://mybinder.org/v2/gh/K3D-tools/K3D-jupyter/master?filepath=index.ipynb)

## Installation

### PyPI

To install from PyPI use pip:

$ pip install k3d

### 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](HOW-TO.md) document.

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

## Acknowledgments

<table class=”none”> <tr> <td> <img src=”http://opendreamkit.org/public/logos/Flag_of_Europe.svg” width=”128”> </td> <td> Research Infrastructure project This package was created as part of the Horizon 2020 European <a href=”https://opendreamkit.org/”>OpenDreamKit</a> (grant agreement <a href=”https://opendreamkit.org/”>#676541</a>). </td> </tr> </table>

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.11.0.tar.gz (9.2 MB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: k3d-2.11.0.tar.gz
  • Upload date:
  • Size: 9.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.8

File hashes

Hashes for k3d-2.11.0.tar.gz
Algorithm Hash digest
SHA256 c297e0e5a20d7b42c3cb78539173d62ee66451a8abf25913d33cdfba563dd681
MD5 36e6ef35c2593264a285241df43dc2b7
BLAKE2b-256 aca9008191525b95257d74839965a09f72b80d15dc7282cbbfcb37fc1dd2a014

See more details on using hashes here.

File details

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

File metadata

  • Download URL: k3d-2.11.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 15.1 MB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.8

File hashes

Hashes for k3d-2.11.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e82940ad3ce5319e24ef2b4f468296bc6f221bdb9b1693200f9ff3c96711594d
MD5 de74d92b0022977ba124f7a8141f9688
BLAKE2b-256 03c5bbce123dc09ce61d47318c89ad07f7f4ff18a9ec1d1ec35fccaa7e9b5a38

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