skip to navigation
skip to content

astral 0.8.1

Calculations for the position of the sun and moon.

Package Documentation

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.

For documentation see the


GoogleGeocoder uses the mapping services provided by Google

Access to the GoogleGeocoder requires you to agree to be bound by Google Maps/Google Earth APIs Terms of Service found at which includes but is not limited to having a Google Account.

More information on Google’s maps service can be found at

Version Description
  • Fix for bug #1417641: Astral.solar_elevation and Astral.solar_azimuth fail when a naive datetime object is used.
  • Added solar_zenith methods to Astral and Location as an alias for solar_elevation
  • Added tzinfo as an alias for tz
0.8 Fix for bug #1407773: Moon phase calculation changed to remove time zone parameter (tz) as it is not required for the calculation.
File Type Py Version Uploaded on Size
astral-0.8.1-py2.py3-none-any.whl (md5) Python Wheel py2.py3 2015-02-04 20KB (md5) Source 2015-02-04 20KB
  • Downloads (All Versions):
  • 142 downloads in the last day
  • 804 downloads in the last week
  • 3322 downloads in the last month