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

Then, make sure to enable widgetsnbextension:

$ jupyter nbextension enable --py widgetsnbextension

Finally, enable ipyaladin:

$ jupyter nbextension enable --py --sys-prefix ipyaladin

And you are ready to use ipyaladin inside your notebooks! Additionny, for a jupyterlab usage you will need to:

$ jupyter labextension develop ipyaladin --overwrite

There is also a conda package that can be installed with:

$  conda install -c bmatthieu3 ipyaladin==0.2.0

Development

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

$ git clone https://github.com/cds-astro/ipyaladin.git
$ cd ipyaladin
$ npm install yarn
$ 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, you will need to run this command too:

$ 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.2.0.tar.gz (141.2 kB view details)

Uploaded Source

Built Distribution

ipyaladin-0.2.0-py3-none-any.whl (62.9 kB view details)

Uploaded Python 3

File details

Details for the file ipyaladin-0.2.0.tar.gz.

File metadata

  • Download URL: ipyaladin-0.2.0.tar.gz
  • Upload date:
  • Size: 141.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.8

File hashes

Hashes for ipyaladin-0.2.0.tar.gz
Algorithm Hash digest
SHA256 bc48ac36db2ccd530d42402013fe2cee17a811976d2884de6448e8ca823e4c6d
MD5 c4f75db66695d3dc318da97127cfb3ac
BLAKE2b-256 740157563169d86298de384c4453337c3b6a73a097956739288e576986c23b8e

See more details on using hashes here.

File details

Details for the file ipyaladin-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: ipyaladin-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 62.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.8

File hashes

Hashes for ipyaladin-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 819b1d6f6c546433a6ff0e09e0181683a419c5df58ad88a725c64b72ddf46eac
MD5 32203b2620dd21f72a59c6d6e649e92b
BLAKE2b-256 17193f28ffd0f647d70afe035e0ecd190e1cda0bbd6bf77ca06928de81d22866

See more details on using hashes here.

Supported by

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