Simple, fast approximation of sunrise, sunset time on Earth.
It is recommended to install with pip
:
pip install suntransit
The only dependency is numpy
.
Online documentation can be found here.
python tests/tests.py
Meeus, Jean. "Astronomical Algorithms." 1991. William-Bell Inc. Richmond, Virginia, U.S.A.
U.S. Naval Observatory. "Almanac for Computers." 1990. Reproduced by Ed Williams. https://www.edwilliams.org/sunrise_sunset_algorithm.htm