Skip to main content

ipyaladin

Project description

ipyaladin

Description

A bridge between Jupyter and Aladin Lite, enabling interactive sky visualization in IPython notebooks.

ipyaladin example

With a couple of lines, you can display Aladin Lite, center it on the target of your choice, and overlay an Astropy table:

ipyaladin example

Examples

Some example notebooks can be found in the examples directory.

Binder. You can also try it directly in mybinder, without installing anything.

Installation

To install use pip:

$ pip install ipyaladin

For a development installation (requires Node.js and Yarn version 1),

$ git clone https://github.com/cds-astro/ipyaladin.git
$ cd ipyaladin
$ pip install -e .
$ jupyter nbextension install --py --symlink --overwrite --sys-prefix ipyaladin
$ jupyter nbextension enable --py --sys-prefix ipyaladin

When actively developing your extension for JupyterLab, run the command:

$ jupyter labextension develop --overwrite ipyaladin

Then you need to rebuild the JS when you make a code change:

$ cd js
$ yarn run build

You then need to refresh the JupyterLab page when your javascript changes.

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

ipyaladin-0.1.10.tar.gz (603.1 kB view hashes)

Uploaded Source

Built Distribution

ipyaladin-0.1.10-py3-none-any.whl (415.7 kB view hashes)

Uploaded Python 3

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