Python-weather

Latest version: v2.0.1

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

Scan your dependencies

Page 1 of 5

2.0.1

*python-weather* version 2.0.1 is here!

This update brings in lots of bugfixes and refactors thanks to the migration from using [`yapf`](https://github.com/google/yapf) to [`ruff`](https://docs.astral.sh/ruff)!

**Changelog:**
- 🟦 Migrate from [`yapf`](https://github.com/google/yapf) to [`ruff`](https://docs.astral.sh/ruff).
- 🟦 Fix potential `NameError` while modifying forecast unit or locale.
- 🟦 Remove several unused imports.
- 🟦 Fix potential `NameError` on some typings.

As always, thank you all for supporting *python-weather*! Much love :heart::heart::heart:

2.0.0

*python-weather* version 2.0.0 is here!

Lots of major breaking changes are done in this update for consistency!

**Changelog:**
- 🟥 Rename the main forecast's class name from ``Weather`` to `Forecast`.
- 🟥 Merge ``CurrentForecast`` class' properties with `Forecast`'s. Therefore the ``current`` property is removed.
- 🟥 Merge ``Area`` class' properties with `Forecast`.
- 🟥 Rename ``Weather.forecasts`` to ``Forecast.daily_forecasts``.
- 🟥 Rename ``Weather.location`` to ``Forecast.coordinates``. The former now returns the forecast location's name and the latter is no longer an optional type.
- 🟥 Rename ``CurrentForecast.chances_of_hightemp`` to ``Forecast.chances_of_high_temperature``.
- 🟥 Rename ``CurrentForecast.chances_of_remdry`` to ``Forecast.chances_of_remaining_dry``.
- 🟥 Rename ``CurrentForecast.date`` to ``Forecast.datetime``.
- 🟥 Rename ``DailyForecast.hourly`` to ``DailyForecast.hourly_forecasts``.
- 🟥 Rename ``Ultraviolet`` to `UltraViolet`.
- 🟩 ``HourlyForecast.heat_index`` now returns a convenience enum called `HeatIndex`.
- 🟥 Merge ``Astronomy`` class' properties with `DailyForecast`.
- 🟥 Rename ``Astronomy.sun_rise`` to ``DailyForecast.sunrise``.
- 🟥 Rename ``Astronomy.sun_set`` to ``DailyForecast.sunset``.
- 🟥 Rename ``Astronomy.moon_rise`` to ``DailyForecast.moonrise``.
- 🟥 Rename ``Astronomy.moon_set`` to ``DailyForecast.moonset``.

Thank you all for supporting *python-weather*! Much love :heart::heart:

1.1.2

*python-weather* version 1.1.2 is here!

**Changelog:**
🟩 Add an official project documentation in https://python-weather.readthedocs.io/en/latest/.

Thank you all for supporting *python-weather*! Happy coding! Much love :heart::heart:

1.1.1

changelog:
- refactor: renamed `chances_of_remdry` to `chances_of_remaining_dry` in order to reduce confusion, the former is now deprecated (53)
- deps: bump `aiohttp` dependency from `v3.9.0` to `v3.9.3`

1.1.0

changelog:
- fix: added support for Python 3.12 by upgrading the `aiohttp` dependency to `v3.9.0`! this also means that the library no longer supports Python 3.7, which was discontinued this June. (50)
- refactor: removed several instances of copy-pasted code.

1.0.3

changelog:
- revert: added the missing `index` property in the `Ultraviolet` enum, as specified in 43.
- feat: added more helper methods
- doc: improved docstrings of several properties.

Page 1 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.