AstroSKY
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 - Complete Messier catalog (110 objects) with equipment recommendations and observing tips
- Astronomical events - Conjunctions, oppositions, moon phases, equinoxes, and solstices
Installation
# With pip
pip install astrosky
astrosky tonight --lat 40.7128 --lon -74.0060
# Or run directly with uvx (no install needed)
uvx astrosky tonight --lat 40.7128 --lon -74.0060
Quick Start
# Check the sky for a specific location
astrosky tonight --lat 40.7128 --lon -74.0060
# Save a location for easy reuse
astrosky location add home 40.7128 -74.0060 --default
# Now just run
astrosky tonight
Commands
astrosky tonight
Show what's visible in the night sky.
# Using coordinates
astrosky tonight --lat 40.7128 --lon -74.0060
# Using a saved location
astrosky tonight -l home
# For a specific date
astrosky tonight --date 2025-01-15
# At a specific time
astrosky tonight --at 22:30
# Show only specific sections
astrosky tonight --only planets,moon
# Exclude sections
astrosky tonight --exclude iss,meteors
# JSON output
astrosky tonight --json
Sections: moon, planets, iss, meteors, events, deepsky
astrosky events
Show upcoming astronomical events.
# Next 7 days (default)
astrosky events --lat 40.7128 --lon -74.0060
# Next 30 days
astrosky events --lat 40.7128 --lon -74.0060 --days 30
# Filter by event type
astrosky events --lat 40.7128 --lon -74.0060 --type moon
astrosky events --lat 40.7128 --lon -74.0060 --type conjunction
# JSON output
astrosky events --lat 40.7128 --lon -74.0060 --json
Event types: moon (full/new moon), conjunction, opposition, seasonal (equinoxes/solstices)
astrosky location
Manage saved observation locations.
# Add a location
astrosky location add home 40.7128 -74.0060
# Add and set as default
astrosky location add cabin 44.9778 -93.2650 --default
# List saved locations (* marks default)
astrosky location list
# Set default location
astrosky location set-default home
# Remove a location
astrosky location remove cabin
Locations are stored in ~/.config/astrosky/locations.json.
ISS Tracking
ISS pass predictions require a free API key from N2YO:
export N2YO_API_KEY=your-api-key
astrosky tonight
Without the API key, ISS passes will be skipped (other features work fine).
License
MIT
Metadata
Release files for astrosky 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| astrosky-0.3.0.tar.gz | 16.0 MB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| astrosky-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.1 MB
Release files / astrosky-0.3.0.tar.gz
| Download URL | astrosky-0.3.0.tar.gz |
|---|---|
| Size | 16.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
50ff8a20819f00183ec7f28af87ca51d49b9ed34e421773108c7b15578476c85
|
|
BLAKE2b-256 checksum How to use checksums |
2d23525261329d3de2213577f70577ada98e3ee5a65d3015d152e41865167080
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.11
|
Release files / astrosky-0.3.0-py3-none-any.whl
| Download URL | astrosky-0.3.0-py3-none-any.whl |
|---|---|
| Size | 26.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
84190558251f599066cfc8eeb48102df1cb2c4a840619189f52f27b244efb87e
|
|
BLAKE2b-256 checksum How to use checksums |
dc83d332ba820d4b19d4fa21688c8946d304c5a7d7e9a362665ef8cb2cd80684
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.11
|
Security for astrosky 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.