Python API for Firefly: display astronomical data as tables, images, charts, and more!
Project description
firefly_client
Python API for Firefly, IPAC's Advanced Astronomy Web UI Framework
Usage
The client must be connected to a Firefly server. The Firefly repository is located at http://github.com/Caltech-IPAC/firefly. Standalone Firefly servers may be obtained from this Dockerhub repository.
For detailed explanation on the usage, see the online documentation. Following is a very simple example:
from firefly_client import FireflyClient
fc = FireflyClient.make_client() # can also explictly pass url of a firefly server; default is http://localhost:8080/firefly
A FITS image may be uploaded and displayed:
fval = fc.upload_file('image.fits')
fc.show_fits(fval, 'myimage')
For more examples, check notebooks & python files in the examples and test directories.
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
File details
Details for the file firefly_client-3.1.0.tar.gz
.
File metadata
- Download URL: firefly_client-3.1.0.tar.gz
- Upload date:
- Size: 60.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e398c8479a3310bb62150b753760d973a0992e04be8e12dc6da9ca614695e39 |
|
MD5 | 76750a41b5a0ba5d4c9aebf1a9b3ac92 |
|
BLAKE2b-256 | 40c9af9ea0b04f7e25b7a0e5901353490ed5676f457f999d8ef06efe1d83895a |
File details
Details for the file firefly_client-3.1.0-py3-none-any.whl
.
File metadata
- Download URL: firefly_client-3.1.0-py3-none-any.whl
- Upload date:
- Size: 31.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7957c001e5eabb15c7503022e8b9c6a3e0c368abbc7d29717ce467ff50330e37 |
|
MD5 | 8f4d9eccb81edaa6c99499493985bad3 |
|
BLAKE2b-256 | 6bcc8389f18f29a051041420570743b41592455f6f15b340b9490a1dc46e7944 |