Show a random NASA Astronomy Picture of the Day in a JupyterLab panel
Project description
jupyterlab_apod
Show a random NASA Astronomy Picture of the Day in a JupyterLab panel
Requirements
- JupyterLab >= 3.0
Install
pip install jupyterlab_apod
Contributing
Development install
Note: You will need NodeJS to build the extension package.
The jlpm
command is JupyterLab's pinned version of
yarn that is installed with JupyterLab. You may use
yarn
or npm
in lieu of jlpm
below.
# Clone the repo to your local environment
# Change directory to the jupyterlab_apod directory
# Install package in development mode
pip install -e .
# Link your development version of the extension with JupyterLab
jupyter labextension develop .
# Rebuild extension Typescript source after making changes
jlpm build
You can watch the source directory and run JupyterLab at the same time in different terminals to watch for changes in the extension's source and automatically rebuild the extension.
# Watch the source directory in one terminal, automatically rebuilding when needed
jlpm watch
# Run JupyterLab in another terminal
jupyter lab
With the watch command running, every saved change will immediately be built locally and available in your running JupyterLab. Refresh JupyterLab to load the change in your browser (you may need to wait several seconds for the extension to be rebuilt).
Uninstall
pip uninstall jupyterlab_apod
jupyter labextension uninstall jupyterlab_apod
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for jupyterlab_apod-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84a46cedd96c8c16393d69d5038a0e9113ec89c4bb6f95c48827b7e8311690f0 |
|
MD5 | e8bbbb17016584fd640d57a83eb50f79 |
|
BLAKE2b-256 | 7e0bfbd4c74804261cc3bda48cceb05a3f9e1a13e12131c06d295a8a07c4c641 |