Astral

Latest version: v3.2

Safety actively analyzes 619647 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

3.2

Changed

- Removed support for Python 3.6 as it has reached "End of Life"

- Documentation now hosted on [Github Pages](https://sffjunkie.github.io/astral/)

3.1

Bug Fix

- Fix for issue [77](https://github.com/sffjunkie/astral/issues/77)

3.0

Added

- Added support for moon rise and set times and azimuth / zentih calculations.

- Dropped dependency on `pytz` and switched to using `zoneinfo` provided as
part of Python 3.9 or the `backports.zoneinfo` package.

2.2

Changed

- Fix for [bug 48](https://github.com/sffjunkie/astral/issues/48). As per the bug report the angle to adjust for the effect of elevation should have been θ (not α).
- The sun functions can now also be passed the timezone as a string. Previously only a pytz timezone was accepted.

2.1

Bug Fix

- Fix for bug 44 - Incorrectly raised exception when UTC sun times were on the day previous to the day asked for. This only manifested itself for timezones with a large positive offset.

2.0

Refactor

- This is a code refactor as well as an update so it is highly likely that you will need to adapt your code to suit.
- Astral, AstralGeocoder & GoogleGeocoder classes removed
- Requires python 3.6+ due to the use of dataclasses
- New LocationInfo class to store a location name, region, timezone, latitude & longitude
- New Observer class to store a latitude, longitude & elevation
- Geocoder database now returns a LocationInfo instead of a Location

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.