Files
astronomy/demo/python

Astronomy Engine examples in Python


Moon Phase Calculator

This example shows how to determine the Moon's current phase, and how to predict when the next few quarter phases will occur.

Body Positions

An example of how to calculate equatorial and horizontal coordinates for all of the major solar system bodies.

Rise/Set

Shows how to calculate sunrise, sunset, moonrise, and moonset times.

Seasons

Calculates the equinoxes and solstices for a given calendar year.


API Reference

Complete documentation for all the functions and types available in the Python version of Astronomy Engine.