Metadata-Version: 2.1
Name: pyatmo
Version: 2.3.3
Summary: Simple API to access Netatmo weather station data from any Python 3 script. Design for Home-Assitant (but not only)
Home-page: https://github.com/jabesq/netatmo-api-python
Author: Hugo Dupras
Author-email: jabesq@gmail.com
License: MIT
Platform: UNKNOWN
Requires-Dist: requests

netatmo-api-python
==================
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)
[![GitHub Actions](https://github.com/jabesq/netatmo-api-python/workflows/Python%20package/badge.svg)](https://github.com/jabesq/netatmo-api-python/actions?workflow=Python+package)
[![PyPi](https://img.shields.io/pypi/v/pyatmo.svg)](https://pypi.python.org/pypi/pyatmo)
[![PyPi](https://img.shields.io/pypi/l/pyatmo.svg)](https://github.com/jabesq/netatmo-api-python/blob/master/LICENSE.txt)


Simple API to access Netatmo devices and data like weather station or camera data from Python 3.
For more detailed information see http://dev.netatmo.com

This project has no relation with the Netatmo company.

### Install ###

To install pyatmo simply run:

    pip install pyatmo

Depending on your permissions you might be required to use sudo.
Once installed you can simple add `pyatmo` to your Python 3 scripts by including:

    import pyatmo

### Note ###

The module requires a valid user account and a registered application. See usage.md for further information.
Be aware that the module may stop working if Netatmo decides to change their API.


### Testing ###

To run the pytest testsuite you need to install the following dependencies:

    pip install pytest pytest-mock pytest-cov requests-mock freezegun

To run the full suite simply type in

    pytest

or

    python -m pytest

To generate code coverage xml (e.g. for use in VSCode) run

    python -m pytest --cov-report xml:cov.xml --cov smart_home --cov-append tests/


