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.
Source Distribution
Built Distribution
File details
Details for the file skyport-0.1.0.tar.gz
.
File metadata
- Download URL: skyport-0.1.0.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.11.6 Linux/6.7.0-arch3-1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1489500a58808e605bc7260241ca166fea565831eb9b3192691f44b052f3f18d |
|
MD5 | b2d3d045ca0a82113a30d65e3e4ae9c8 |
|
BLAKE2b-256 | e645857f9dc6221f5f9e429d33df406a983e226d86440fb3f7ecf5116de20288 |
File details
Details for the file skyport-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: skyport-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.11.6 Linux/6.7.0-arch3-1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | adb1adeb2023aa8a1bd624d920fd5bf85b89073c36094613ba6342ee34481bd5 |
|
MD5 | f706c395e828aa6e502b50a853035ea8 |
|
BLAKE2b-256 | 87d098e5c355f04208b68ba4eb6ab3826cd0606b8e0564b00215969a218cd6d9 |