Metadata-Version: 2.3
Name: aiopywttr
Version: 3.0.0
Summary: Asynchronous wrapper for wttr.in weather API
Project-URL: documentation, https://aiopywttr.readthedocs.io
Project-URL: repository, https://github.com/monosans/aiopywttr
Author-email: monosans <hsyqixco@protonmail.com>
License: MIT
Keywords: forecast
Classifier: Framework :: AsyncIO
Classifier: Framework :: Pydantic
Classifier: Framework :: Pydantic :: 2
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Typing :: Typed
Requires-Python: >=3.9
Requires-Dist: aiohttp>=3.7
Requires-Dist: pywttr-models<3,>=2
Requires-Dist: typing-extensions>=4
Description-Content-Type: text/markdown

# aiopywttr

[![CI](https://github.com/monosans/aiopywttr/actions/workflows/ci.yml/badge.svg)](https://github.com/monosans/aiopywttr/actions/workflows/ci.yml)
[![Downloads](https://static.pepy.tech/badge/aiopywttr)](https://pepy.tech/project/aiopywttr)

Asynchronous wrapper for [wttr.in](https://wttr.in) weather API.

Synchronous version [here](https://github.com/monosans/pywttr).

## Installation

```bash
pip install -U aiopywttr pywttr-models
```

## Documentation

<https://aiopywttr.readthedocs.io>

## Simple example

```python
async with aiopywttr.Wttr() as wttr:
    weather = await wttr.weather("Paris", language=aiopywttr.Language.EN)
print(weather.weather[0].avgtemp_c)
```

## License

[MIT](https://github.com/monosans/aiopywttr/blob/main/LICENSE)
