Metadata-Version: 2.1
Name: pygismeteo
Version: 3.0.0
Summary: Wrapper for Gismeteo.ru API
Home-page: https://github.com/monosans/pygismeteo
License: MIT
Author: monosans
Author-email: hsyqixco@protonmail.com
Requires-Python: >=3.6.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 :: Only
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Typing :: Typed
Requires-Dist: pygismeteo-base (>=2.0.0,<3.0.0)
Requires-Dist: requests (>=2.25.1,<3.0.0)
Project-URL: Documentation, https://pygismeteo.readthedocs.io
Project-URL: Repository, https://github.com/monosans/pygismeteo
Description-Content-Type: text/markdown

# pygismeteo

[![Build Status](https://github.com/monosans/pygismeteo/workflows/test/badge.svg?branch=main&event=push)](https://github.com/monosans/pygismeteo/actions?query=workflow%3Atest)
[![codecov](https://codecov.io/gh/monosans/pygismeteo/branch/main/graph/badge.svg)](https://codecov.io/gh/monosans/pygismeteo)
[![Python Version](https://img.shields.io/pypi/pyversions/pygismeteo.svg)](https://pypi.org/project/pygismeteo/)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/monosans/pygismeteo/blob/main/LICENSE)

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

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

## Установка

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

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

Релизная версия - https://pygismeteo.readthedocs.io

Git версия - https://pygismeteo.readthedocs.io/ru/latest

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

```python
import pygismeteo

city_id = pygismeteo.search.id_by_query("Москва")
gm = pygismeteo.current(city_id)
print(gm.temperature.air.c)
```

