Pyowm Versions Save

A Python wrapper around the OpenWeatherMap web API

3.3.0

2 years ago

New features

380 Implemented National Weather Alerts support 376 Now PyOWM uses SQLite instead of files to internally store city data. CityIDRegistry interface has changed but in a retrocompatible way

Enhancements

381 Now it is possible to specify how many times to retry an API call

Bugfixes

379 Experimental fix for 404 errors on Agromonitor API satellite image search 387 Fixed lat/lon swap bug on Airpollution API 389 Fixed wrong city name in City ID database

3.2.0

3 years ago
  • New features

    • Support for new AirPollution API encompassing current, historical and forecast air pollution indicators and air quality index
    • Support for new Geocoding API
    • Python 3.9 supported
    • New matching method for CityIDRegistry: startswith
  • Enhancements

    • added probability of precipitation in OneCall API responses
  • Bugfixes

    • fixed many typos in the documentation (code recipes)
  • Security

    • Automatic fixes nailed by Dependabot
  • Deprecations introduced

    • will be removed in version 4.0.0:
      • AirPollutionManager.coindex_around_coords
      • AirPollutionManager.ozone_around_coords
      • AirPollutionManager.no2index_around_coords
      • AirPollutionManager.so2index_around_coords

3.1.1bis

3 years ago

What's new in Release 3.1.1

Bugfixes:

  • Minutely rain data on OneCall calls were not read by PyOWM
  • Fixed bugs in code recipes

3.1.0

3 years ago

New features:

  • Support for OneCall minutely forecast data

Enhancements:

  • OneCall calls now support units and exclude parameters
  • queries to weather objects now support new visibility distance (miles) and barometric pressure (InHG) units
  • now it is possible to obtain weather icons in 2 sizes (2x, 4x)
  • all PyOWM timestamps are now timezone-aware
  • now PyOWM exposes a list of OWM supported languages (pyowm.constants.LANGUAGES)
  • added an FAQ page to the documentation

Bugfixes:

  • tons on the documentation
  • removed dependency version pinning on PySocks
  • patched wrong subdomains for paid API calls

3.0.0

3 years ago

This is a major release.

This means that no retrocompatibility is offered, as many high-level PyOWM interface functions have been modified or removed: this might result in your client code breaking.

But fear not! Patching your code is very likely a breeze: please verify the "migration guide" in the documentation about how to patch.

New and modified features

Platforms Support

  • dropped legacy support for Python2 and support for Python 3.4 - only supports Python 3.7+ now
  • dropped support for Docker (no more Dockerfiles and Docker images)

Enhancements

Bugfixes

Internals

  • gave the weatherapi module exactly the same dignity as other api modules...
  • PollutionAPI and UVIndexAPI: both will feature a Manager object, which will be instantiated by the new OWM entry point
  • made Exceptions hierarchy more consistent

Security

  • Now using SSL as the default option for all API calls
  • HTTP calls timeout is increased to 5 seconds (to allow download of satellite images)
  • finalized deprecations foreseen for v3

freeze-2.9-LTS

4 years ago

2.10

5 years ago

Notably, introducing support for Agro API free features!

  • New features:

  • Enhancements:

    • Refactored Weather API code to a dedicated package
    • Implemented an automated integration and release pipeline
  • Bugfixes:

    • fixed wrong object to JSON dumping when calling send_measurements() on Stations API
    • relaxing hard upper limit on dependency geojson: from geojson>=2.3.0,<2.4 to geojson>=2.3.0,<3
  • Security:

    • upgraded version for dependencies requests and urllib3 as known security issues were raised on them
  • Python Versions Support:

    • dropped Python 3.3 support as it has reached end of life

2.9.0

5 years ago

Python 2.7 is now officially deprecated

Bugfixing support for it will be granted on the dedicated v2.9-LTS branch that will be killed off on Jan 1st, 2020

Please check out the drop timeline for details.

  • New features:

  • Enhancements:

    • Heavily improved readthedocs documentation
    • Now PyOWM talks to OWM APIs over SSL
    • Refactored out one single consistent HTTP base client, based on requests
    • Refactored UV API and Air Pollution API code to dedicated packages
  • Bugfixes:

    • issue on requests==2.19.1 incompatibility
    • now printing on console the detailed weather status (language-sensitive) instead of generic english-based weather status
    • fixed broken links in a few Markdown docs
  • Deprecations introduced:

    • will be removed on 3.0.0: OWM25.weather_at_stations_in_bbox, OWM25.weather_at_station

2.8.0

6 years ago
  • New features:

    • introduced support for Stations API 3.0
    • new methods for Forecaster class: will_have_clear, when_clear, will_be_clear_at
    • new light Docker images based on Alpine Linux
  • Enhancements:

    • In the moment Forecast objects are created, their Weather objects having reference timestamps prior to that moment are discarded (this means: you only get real forecasts!)
    • Introduced requests as only PyOWM dependency: requests>=2.18.2,<2.19
  • Bugfixes:

    • issue on city_id_registry read behaviour on Windows
    • issue on parsing Location objects
  • Deprecations introduced:

    • will be removed on 3.0.0: forecaster.Forecaster.will_have_sun, forecaster.Forecaster.when_sun and forecaster.Forecaster.will_be_sunny_at

2.7.1

6 years ago

Takes place of 2.7.0