Skip to content

PyOWM version 3

Claudio Sparpaglione edited this page Apr 29, 2020 · 53 revisions

This is meant to be a manifest for PyOWM version 3

Supported OWM APIs

  • Agro APIs
    • Polygons
    • Soil
    • Satellite Imagery
    • MORE TBD
  • Weather API
  • Stations API
  • UV Index API
  • Air Pollution API
  • Weather Alerts API
  • Map tiles

Supported Python versions

  • drops legacy support for Python2 and support for Python 3.4
  • only supports py37+ (therefore also the new py38)

Global library features

PollutionAPI and UVIndexAPI new features

  • both will feature a Manager object, which will be instantiated by the new OWM entry point

WeatherAPI features

Companion docs

Wiki

  • Wiki pages must NOT serve as documentation sources! Therefore docs-like pages must be removed and links to them shall be replaced to links to the actual Readthedocs documentation pages

Diffs with respect v2

  • write an automation script to generate boilerplate code for new entities
  • remove XML schemas and XML dumps for entities
  • remove JSON dumps for entities (only Python dict dumps will be allowed)
  • remove all Java style getter methods (eg. get_temperature), so to allow Pythonic access to obj attributes
  • all entities shall have methods: __repr__, from_dict, to_dict
  • do we really need parsers when we have from_dict methods??? If not, these can be dropped
  • clean modules style: add shebangs, file econding, order imports alphabetically