A Python wrapper around the OpenWeatherMap web API
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
381 Now it is possible to specify how many times to retry an API call
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
New features
CityIDRegistry
: startswith
Enhancements
Bugfixes
Security
Deprecations introduced
AirPollutionManager.coindex_around_coords
AirPollutionManager.ozone_around_coords
AirPollutionManager.no2index_around_coords
AirPollutionManager.so2index_around_coords
units
and exclude
parameters
pyowm.constants.LANGUAGES
)PySocks
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
get_temperature
) so to allow Pythonic access to object attributesPlatforms Support
Enhancements
__repr__
, from_dict
, to_dict
Bugfixes
Internals
weatherapi
module exactly the same dignity as other api modules...Security
Notably, introducing support for Agro API free features!
New features:
owm25.weather_at_stations_in_bbox
functionpyowm.tiles.tile_manager.TileManager
clientEnhancements:
Bugfixes:
send_measurements()
on Stations APIgeojson
: from geojson>=2.3.0,<2.4
to geojson>=2.3.0,<3
Security:
requests
and urllib3
as known security issues were raised on themPython Versions Support:
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:
Bugfixes:
requests==2.19.1
incompatibilityDeprecations introduced:
OWM25.weather_at_stations_in_bbox
, OWM25.weather_at_station
New features:
Forecaster
class: will_have_clear
, when_clear
, will_be_clear_at
Enhancements:
Forecast
objects are created, their Weather
objects having reference timestamps prior to that moment are discarded (this means: you only get real forecasts!)requests
as only PyOWM dependency: requests>=2.18.2,<2.19
Bugfixes:
city_id_registry
read behaviour on WindowsLocation
objectsDeprecations introduced:
forecaster.Forecaster.will_have_sun
, forecaster.Forecaster.when_sun
and forecaster.Forecaster.will_be_sunny_at
Takes place of 2.7.0