Metadata-Version: 2.1
Name: pywttr-models
Version: 1.1.0
Summary: Pydantic models for pywttr and aiopywttr
Home-page: https://github.com/monosans/pywttr-models
License: MIT
Keywords: forecast,weather
Author: monosans
Author-email: hsyqixco@protonmail.com
Requires-Python: >=3.7.2,<4.0.0
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.7
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Typing :: Typed
Requires-Dist: pydantic (>=1.9,<2.0)
Project-URL: Repository, https://github.com/monosans/pywttr-models
Description-Content-Type: text/markdown

# pywttr-models

[![CI](https://github.com/monosans/pywttr-models/actions/workflows/ci.yml/badge.svg?branch=main&event=push)](https://github.com/monosans/pywttr-models/actions/workflows/ci.yml)
[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/monosans/pywttr-models/main.svg)](https://results.pre-commit.ci/latest/github/monosans/pywttr-models/main)

[Pydantic](https://github.com/samuelcolvin/pydantic) models for [pywttr](https://github.com/monosans/pywttr) and [aiopywttr](https://github.com/monosans/aiopywttr).

## Usage for type annotation

```python
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, follow the code completion in your IDE.

## License

[MIT](https://github.com/monosans/pywttr-models/blob/main/LICENSE)

