Skip to main content

CLI tool to see what's visible in the night sky tonight

Project description

SkyCLI

A command-line tool that shows you what's visible in the night sky tonight.

Features

  • Moon phase - Current phase, illumination, and rise/set times
  • Visible planets - Which planets are up and where to look
  • ISS passes - Upcoming International Space Station flyovers for your location
  • Meteor showers - Active showers and peak dates
  • Deep sky objects - Visible Messier objects (galaxies, nebulae, clusters)

Installation

# With pip
pip install skycli

# Or run directly with uvx
uvx skycli tonight --lat 40.7128 --lon -74.0060

Quick Start

# Check the sky for a specific location
skycli tonight --lat 40.7128 --lon -74.0060

# Save a location for easy reuse
skycli location add home 40.7128 -74.0060 --default

# Now just run
skycli tonight

Commands

skycli tonight

Show what's visible in the night sky.

# Using coordinates
skycli tonight --lat 40.7128 --lon -74.0060

# Using a saved location
skycli tonight -l home

# For a specific date
skycli tonight --date 2025-01-15

# At a specific time
skycli tonight --at 22:30

# Show only specific sections
skycli tonight --only planets,moon

# Exclude sections
skycli tonight --exclude iss,meteors

# JSON output
skycli tonight --json

Sections: moon, planets, iss, meteors, events, deepsky

skycli location

Manage saved observation locations.

# Add a location
skycli location add home 40.7128 -74.0060

# Add and set as default
skycli location add cabin 44.9778 -93.2650 --default

# List saved locations (* marks default)
skycli location list

# Set default location
skycli location set-default home

# Remove a location
skycli location remove cabin

Locations are stored in ~/.config/skycli/locations.json.

ISS Tracking

ISS pass predictions require a free API key from N2YO:

export N2YO_API_KEY=your-api-key
skycli tonight

Without the API key, ISS passes will be skipped (other features work fine).

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

astrosky-0.1.0.tar.gz (16.0 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

astrosky-0.1.0-py3-none-any.whl (17.1 kB view details)

Uploaded Python 3

File details

Details for the file astrosky-0.1.0.tar.gz.

File metadata

  • Download URL: astrosky-0.1.0.tar.gz
  • Upload date:
  • Size: 16.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for astrosky-0.1.0.tar.gz
Algorithm Hash digest
SHA256 92292ab2f4fc286f927643ff0b946ad376cad606af8a9154b8422f2b671af9bf
MD5 cace48f2db834fb424af8e3ab7c2f3d1
BLAKE2b-256 5b1aa593d18b8a7f1174c292fba63fb9f7b2c1f782314a7b2fec201df1db4a15

See more details on using hashes here.

File details

Details for the file astrosky-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: astrosky-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 17.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for astrosky-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6a4d4a9d0ac6bd48a30c6a10f2e22e04743e73bf0ed9aa2234ef605093b284df
MD5 b93aba8c9b75534389d5eaa1b2d53da2
BLAKE2b-256 a0cf1312d52cc3f5ae25ad78c2007610d9cab846372de9c6df49e56035e607be

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page