Releases: csparpa/pyowm
Releases · csparpa/pyowm
2.7.0
-
New features:
- introduced support for Sulphur Dioxide (SO2) and Nitric Dioxide (NO2): new methods
owm25.no2index_around_coords
andowm25.so2index_around_coords
- implemented wind speed units specification (imperial/metric)
- introduced support for Sulphur Dioxide (SO2) and Nitric Dioxide (NO2): new methods
-
Bugfixes:
- updated weather history endpoint (was broken)
- fix bug about data parsing at
station_at_coords
andweather_at_station
methods - now the
deg
attribute is correctly parsed from 16 day forecast weather data items - fix bug on printing Unicode upon library exceptions
- fix handling of
Weather
objects parsing (it was failing whenever some data wasn't provided by OWM)
-
Enhancements:
- shrinked city ID files size by 60% (via compression)
- reported in the Wiki a list of known projects that use PyOWM
- integrated the Say Thanks! hook
- introduced
CONTRIBUTING.md
andCODE_OF_CONDUCT.md
files, thus welcoming GitHub's suggested best practices for building better open source communities - introduced installation tests
- improved integrations tests organization and running
-
Breaking changes:
- OWM decided to change the syntax of API endpoint for fetching UV data and its format in a non-retrocompatible manner. This results into
UVIndex
object entity fields changing, as well as the corresponding OWM25 method signature (owm25.uvindex_around_coords
).
- OWM decided to change the syntax of API endpoint for fetching UV data and its format in a non-retrocompatible manner. This results into
2.6.1
2.6.0
- New features:
- new method
owm25.weather_at_zip_code
- new methods
CityIDRegistry.ids_for
andCityIDRegistry.locations_for
- introduced deprecation decorators to mark methods that will be removed/modified in future versions
- Python 3.6 support
- new method
- Bugfixes:
- reverted a breaking interface change wrongly released on 2.5.0
- fixed
CityIDRegistry.id_for
andCityIDRegistry.location_for
methods -> oh man, they were so buggy! - fixed a bug on Unicode input handling
- Enhancements:
- reorganized project Wiki
- embedded PyOWM usage examples as markdown file into the distribution package
- Deprecations introduced:
- will be removed on 3.0.0:
webapi25.cityidregistry.id_for
andwebapi25.cityidregistry.location_for
- will be modified on 3.0.0:
webapi25.owm25.get_version
andwebapi25.owm25.get_API_version
- will be removed on 3.0.0:
2.5.0
- New features:
- Air Pollution data API endpoints:
OWM25.coindex_around_coords
,OWM25.ozone_around_coords
- UV data endpoint:
OWM25.uvindex_around_coords
- Air Pollution data API endpoints:
- Bugfixes:
- fixed
OWM25.is_API_online
method (was not working) - more robust support for querying data on Unicode place names
- Enhancements: now datetime objects across all library are timezone-aware
- PyOWM Slack team is live!
- fixed
Release 2.4.0
- New features:
weather_at_ids
weather_history_at_coords
- introduced support for Python 3.4 and 3.5
- Bugfixes: full support for Unicode place names
- Enhancements:
- datetime representation of reception/reference times in
Weather
,Forecast
,History
objects - better exception hierarchy
- datetime representation of reception/reference times in
- Updated city ID registry files
Release 2.3.2 (#115)
Bugfix: no crashes when data about wind, snow and rain in JSON API responses are null
Bugfix
Pro API subscription and bugfixes
- New feature: can now specify whether to use the pro OWM API version or not:
owm = OWM(subscription_type='pro', API_key='my-pro-api-key')
- Better support for Python 3 on
CityIDRegistry
- Bug fixes on parsing of humidity, wind and visibility
Bugfixing release
Fixed bug on visibility distance parsing
2.2
- New entity Station: represents a meteostation recording weather data
- New feature: search for meteostations around a lat/lon couple
- New feature: retrieve weather currently measured by a meteostation
- New feature: retrieve weathers currently measured by meteostations within a bounding box
- Can now query for weather forecasts based on geographical coordinates
- Can now query for weather forecasts based on city ID
- Support querying of extreme weather conditions in Forecaster convenience methods
- Enriched Weather class with methods to support data fields retrieved from meteostations
- Now supporting Unicode strings as parameters for all PyOWM public methods
- Increased test coverage