---
type: Category
title: Astro
description: The sky over a place and date -- moon phase, sunrise and sunset -- computed, not fetched.
tags:
- world
generated:
  by: process:tools/catalog/compile.py
  at: '2026-11-13T18:27:40Z'
---

# Astro

The sky over a place and date -- moon phase, sunrise and sunset -- computed, not fetched.

- [daylight](daylight.md) — How light it is outside right now at a latitude and longitude, as one number from 0 (night) to 1 (the sun overhead): the sine of the sun's altitude, computed with ephem (no network). A body can grow by it.
- [moon-phase](moon-phase.md) — The Moon's phase on a given UTC date, computed with ephem (no network): phase name, percent illuminated, and the dates of the next new and full moon. One line, ready for a dateline or an almanac box. The date is a parameter, never the clock, so the same inputs always give the same answer.
- [sun-times](sun-times.md) — Sunrise, sunset, and day length for a latitude, longitude, and UTC date, computed with ephem (no network). Times are printed in the given UTC offset so a caller can pass the local zone; the day-length delta against the day before says whether days are getting longer or shorter. Companion to net/ip-location.py, whose lat,lon this takes.
