pywttr-models
Pydantic models for pywttr and aiopywttr.
Usage for type annotation
import pywttr_models
def do_something(model: pywttr_models.en.Model):
...
Other languages may also be used instead of en
. For a complete list of supported languages, see the file names or follow the code completion in your IDE.
Documentation
There is no documentation, just follow the code completion from your IDE. I’d recommend Visual Studio Code (with ) or PyCharm.