astral

Calculations for the position of the sun and moon.


Keywords
sun, moon, sunrise, sunset, dawn, dusk, moon-phase, moonrise, moonset, python
License
Apache-2.0
Install
pip install astral==1.10.1

Documentation

Astral

This is 'astral' a Python module which calculates

  • Times for various positions of the sun: dawn, sunrise, solar noon, sunset, dusk, solar elevation, solar azimuth and rahukaalam.
  • Moon rise, set, azimuth and zenith.
  • The phase of the moon.

For documentation see https://sffjunkie.github.io/astral/

Package Status

GitHub Workflow Status PyPI - Downloads