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.
    * The phase of the moon.
WWW: https://astral.readthedocs.org