Skip to main content

Calculations for the position of the sun and moon.

Project description

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 http://pythonhosted.org/astral/

GoogleGeocoder

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 https://developers.google.com/maps/terms which includes but is not limited to having a Google Account.

More information on Google’s maps service can be found at https://developers.google.com/maps/documentation/

Version Description
0.8.1
  • 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.

Project details


Release history Release notifications

History Node

1.6.1

History Node

1.6

History Node

1.5

History Node

1.4

History Node

1.3.4

History Node

1.3.3

History Node

1.3.2

History Node

1.3.1

History Node

1.3

History Node

1.2

History Node

1.1

History Node

1.0

History Node

0.9

History Node

0.8.2

This version
History Node

0.8.1

History Node

0.8

History Node

0.7.5

History Node

0.7.4

History Node

0.7.3

History Node

0.7.2

History Node

0.7.1

History Node

0.7

History Node

0.6.2

History Node

0.6.1

History Node

0.6

History Node

0.5

History Node

0.4

History Node

0.3

History Node

0.2

History Node

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
astral-0.8.1-py2.py3-none-any.whl (20.9 kB) Copy SHA256 hash SHA256 Wheel py2.py3 Feb 4, 2015
astral-0.8.1.zip (21.2 kB) Copy SHA256 hash SHA256 Source None Feb 4, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page