https://github.com/monosans/aiopywttr
Asynchronous wrapper for wttr.in weather forecast.
https://github.com/monosans/aiopywttr
Last synced: 10 months ago
JSON representation
Asynchronous wrapper for wttr.in weather forecast.
- Host: GitHub
- URL: https://github.com/monosans/aiopywttr
- Owner: monosans
- License: mit
- Created: 2021-12-12T17:16:04.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-08-14T22:03:17.000Z (10 months ago)
- Last Synced: 2025-08-15T00:08:44.139Z (10 months ago)
- Language: Python
- Homepage: https://aiopywttr.readthedocs.io
- Size: 5.76 MB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# aiopywttr
[](https://github.com/monosans/aiopywttr/actions/workflows/ci.yml)
[](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
## 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)