Skip to main content

show a nifti image in a webgl 2.0 canvas within a jupyter notebook cell

Project description

demo

ipyNiiVue

ipyNiiVue is a Python / Niivue bridge for Jupyter Widgets. A Python API is used to interact with NiiVue.

Try it online

You can try ipyniivue online at , JupyterLite, or Binder.

Getting started

Installation

pip install ipyniivue

Development

conda create -n ipyniivue-dev -c conda-forge nodejs yarn python jupyterlab=3.6.3
conda activate ipyniivue-dev
git clone https://github.com/niivue/ipyniivue.git
cd ipyniivue
yarn install
jupyter labextension develop --overwrite .
yarn run watch

Then, in another terminal/cmd window:

cd ipyniivue
conda activate ipyniivue-dev
jupyter lab

To view changes made in the typescript, reload the jupyter page. To view changes made in the python, restart the kernel.

Usage

documentation

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

ipyniivue-1.1.0.tar.gz (8.9 MB view details)

Uploaded Source

Built Distribution

ipyniivue-1.1.0-py3-none-any.whl (5.3 MB view details)

Uploaded Python 3

File details

Details for the file ipyniivue-1.1.0.tar.gz.

File metadata

  • Download URL: ipyniivue-1.1.0.tar.gz
  • Upload date:
  • Size: 8.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for ipyniivue-1.1.0.tar.gz
Algorithm Hash digest
SHA256 9329bbf78f5523a0beeb6a7720e436408cd69ee48172b9b249bf37a2a5308632
MD5 8e3288be590184b2fbcefba869aa5391
BLAKE2b-256 03bdecc09a27b38e55a3edb0d2443c02d183095ac009dfd81a29401510e87f90

See more details on using hashes here.

File details

Details for the file ipyniivue-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: ipyniivue-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for ipyniivue-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 747904023927d2967563e12eca3db225cb6e5171fc8656cef7f6ba31162945fc
MD5 158f8afa8a0414f9cf6e4422d9bd351c
BLAKE2b-256 84eb9a6524fcc61a01d91df755c0e2df7b02725dc76a4b448f7218b072030505

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