Skip to main content

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.

Metadata

Release files for ipyaladin 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ipyaladin 0.2.0
File Size Uploaded Provenance Actions
ipyaladin-0.2.0.tar.gz 141.2 kB Without provenance Details for ipyaladin-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ipyaladin 0.2.0
File Interpreter ABI Platform Actions
ipyaladin-0.2.0-py3-none-any.whl Python 3 none any Details for ipyaladin-0.2.0-py3-none-any.whl

Total release size: 204.1 kB

Release files / ipyaladin-0.2.0.tar.gz

Download URL ipyaladin-0.2.0.tar.gz
Size 141.2 kB
Tags Source
SHA-256 checksum
How to use checksums
bc48ac36db2ccd530d42402013fe2cee17a811976d2884de6448e8ca823e4c6d
BLAKE2b-256 checksum
How to use checksums
740157563169d86298de384c4453337c3b6a73a097956739288e576986c23b8e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.8

Release files / ipyaladin-0.2.0-py3-none-any.whl

Download URL ipyaladin-0.2.0-py3-none-any.whl
Size 62.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
819b1d6f6c546433a6ff0e09e0181683a419c5df58ad88a725c64b72ddf46eac
BLAKE2b-256 checksum
How to use checksums
17193f28ffd0f647d70afe035e0ecd190e1cda0bbd6bf77ca06928de81d22866
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.8

Security for ipyaladin 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page