Skip to main content

Tiny Jupyter Wrapper for neuroglancer viewer

Project description

jupyter-neuroglancer

Simple Jupyter (and jupyter-server-proxy) integration with neuroglancer.

Pops up a neuroglancer viewer in a split pane in JupyterLab (via jupyterlab-sidecar) so you can more easily see real-time live visualizations driven by your python code.

When running on a remote JupyterHub, the viewer is automatically (and securely) proxied through jupyter-server-proxy so users get the exact same experience on theier local machine as well as a JupyterHub.

Installation

jupyter-neuroglancer is available on PyPI.

pip install jupyter-neuroglancer

Usage

jupyter_neuroglancer provides a SidecarViewer class that accepts a regular neuroglancer Viewer object. You don't have to modify your neuroglancer code in any way!

import neuroglancer
from jupyter_neuroglancer import SidecarViewer

# Create a neuroglancer Viewer instance. This controls the visualization
viewer = neuroglancer.Viewer()

# Create a SidecarViewer that can show / hide the sidecar panel
scv = SidecarViewer(viewer)

# Show the panel
scv.show()

# Hide the panel
scv.hide()

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

jupyter_neuroglancer-0.1.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

jupyter_neuroglancer-0.1-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file jupyter_neuroglancer-0.1.tar.gz.

File metadata

  • Download URL: jupyter_neuroglancer-0.1.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for jupyter_neuroglancer-0.1.tar.gz
Algorithm Hash digest
SHA256 c03a68472d62e559fa4d10e8fc8392f6d8e5383362efb3c1d1014268fcc2c567
MD5 d61673b3498dbe23b527616bf05e37f5
BLAKE2b-256 3c3c033b058a90247eb88f1860a9cd9eaddb0c5e86c9c7820aa9546c1a13708a

See more details on using hashes here.

File details

Details for the file jupyter_neuroglancer-0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for jupyter_neuroglancer-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2eb34ee423f3dab9ac9321c5eb059dab9e87d6edd7d79959160562b7e7171420
MD5 d60c9781189b466560a731559b718e9f
BLAKE2b-256 736d228ac1ab5b26ca3e151037dcb37220f9e85ab3410161e2cc5e2b8fb2ea9d

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