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


Download files

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

Source Distribution

astral-0.8.1.zip (21.2 kB view details)

Uploaded Source

Built Distribution

astral-0.8.1-py2.py3-none-any.whl (20.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file astral-0.8.1.zip.

File metadata

  • Download URL: astral-0.8.1.zip
  • Upload date:
  • Size: 21.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for astral-0.8.1.zip
Algorithm Hash digest
SHA256 41edd323e9b3f1c67317e231d460da68b3d38c65332c0383edeb6fbbdf7ac21d
MD5 f5add6f37c4f8233e1e42c1ee4232963
BLAKE2b-256 2ba4e4e6e5847d6d36ec38ab375146b807eaacfd2fc921c04aea4355683daced

See more details on using hashes here.

File details

Details for the file astral-0.8.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for astral-0.8.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 911fd8a886031858366d07fae168ffd80fa4253a9f0a9018791d1a0a4474765d
MD5 56b4f8cb4ba04be36844fc83750e5e54
BLAKE2b-256 349eb6b6aa4425afe35ddb19b6dbf302a7485876c2aa1cd8b40f19b2454489ee

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page