Skyport is a cli for obtaining information from astronomical objects.
Project description
Always looking at the sky.
Skyport
Skyport is a CLI for obtaining information from astronomical objects.
So far, the entire CLI is based on NASA's open APIs for getting images and information available.
Documentation: https://skyport.henriquesebastiao.com
Source Code: https://github.com/henriquesebastiao/skyport
How to install the CLI
To install the cli, I recommend using pipx:
pipx install skyport
But anyway, this is just a recommendation. You can also install using the manager you prefer. Like pip:
pip install skyport
How to use?
APOD
Requesting the current day's image
You can call APOD (Astronomical Image of the Day) through the command line. Example:
skyport apod
This was the image of the day on the date January 21, 2024. Which was when this part of the documentation was written ๐
Requesting an image from a specific day
skyport apod -d 2022-01-01
More information about the CLI
You can get more information as stated below, however it is interesting to read the complete tutorial to learn skyport superpowers :grin:.
To discover other options, you can use the --help
flag:
$ skyport --help
Usage: skyport [OPTIONS] COMMAND [ARGS]...
Skyport is a CLI for obtaining information from astronomical objects.
โญโ Options โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ --version -v Returns the version of Skyport โ
โ --help Show this message and exit. โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
โญโ Commands โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ apod Astronomy Picture of the Day (APOD) https://apod.nasa.gov/apod/ โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
More information about subcommands
You can also get information about subcommands by calling the desired subcommand with the --help
flag:
$ skyport apod --help
Usage: skyport apod [OPTIONS]
Astronomy Picture of the Day (APOD) https://apod.nasa.gov/apod/
โญโ Options โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ --date -d TEXT Date to search for the image of the day โ
โ [default: 2024-01-22] โ
โ --save-image -s Download the image โ
โ --remaining -r Tells how many requests remain for the API โ
โ --help Show this message and exit. โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
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.