Metadata-Version: 2.1
Name: pygismeteo
Version: 5.0.4
Summary: Wrapper for Gismeteo API
Home-page: https://github.com/monosans/pygismeteo
License: MIT
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: Natural Language :: Russian
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: pygismeteo-base (>=3.0,<4.0)
Requires-Dist: requests (>=2.28,<3.0)
Project-URL: Documentation, https://pygismeteo.readthedocs.io
Project-URL: Repository, https://github.com/monosans/pygismeteo
Description-Content-Type: text/markdown

# pygismeteo

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

Обёртка для [Gismeteo API](https://gismeteo.ru/api/).

Асинхронная версия [здесь](https://github.com/monosans/aiopygismeteo).

## Установка

```bash
python -m pip install -U pygismeteo
```

## Документация

[pygismeteo.readthedocs.io](https://pygismeteo.readthedocs.io/)

## Пример, выводящий температуру в Москве сейчас

```python
from pygismeteo import Gismeteo

gismeteo = Gismeteo()
search_results = gismeteo.search.by_query("Москва")
city_id = search_results[0].id
current = gismeteo.current.by_id(city_id)
print(current.temperature.air.c)
```

## License / Лицензия

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

