Metadata-Version: 2.1
Name: pulse-eco-ha
Version: 0.2.0
Summary: pulse.eco API wrapper
Project-URL: Bug Tracker, https://github.com/mxilievski/pulse-eco-ha/issues
Project-URL: Homepage, https://github.com/mxilievski/pulse-eco-ha
Author-email: martinkozle <martinkozle@yahoo.com>, mxilievski <mxilievski@gmail.com>
License-Expression: MIT
License-File: LICENSE
Keywords: air,air pollution,air quality index,api,aqi,eco,pollution,pulse,pulse.eco,python,quality,wrapper
Classifier: Development Status :: 5 - Production/Stable
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Scientific/Engineering :: Atmospheric Science
Classifier: Topic :: Scientific/Engineering :: Information Analysis
Classifier: Topic :: Software Development
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Typing :: Typed
Requires-Python: >=3.8
Requires-Dist: requests>=2.31.0
Provides-Extra: dev
Requires-Dist: ipython; extra == 'dev'
Requires-Dist: pip-tools>=7.3.0; extra == 'dev'
Requires-Dist: pre-commit>=3.5.0; extra == 'dev'
Requires-Dist: pulse-eco-ha[docs,lint,test]; extra == 'dev'
Provides-Extra: docs
Requires-Dist: mkdocs; extra == 'docs'
Requires-Dist: mkdocs-material; extra == 'docs'
Requires-Dist: mkdocstrings[python]; extra == 'docs'
Requires-Dist: pymdown-extensions; extra == 'docs'
Provides-Extra: lint
Requires-Dist: mypy>=1.6.1; extra == 'lint'
Requires-Dist: pulse-eco-ha[types]; extra == 'lint'
Requires-Dist: ruff>=0.1.2; extra == 'lint'
Provides-Extra: test
Requires-Dist: coverage[toml]>=7.3; extra == 'test'
Requires-Dist: pytest; extra == 'test'
Requires-Dist: python-dotenv; extra == 'test'
Provides-Extra: types
Requires-Dist: types-requests; extra == 'types'
Description-Content-Type: text/markdown

# pulse-eco-ha

![GitHub Workflow Test](https://github.com/mxilievski/pulse-eco-ha/actions/workflows/test.yml/badge.svg)
![GitHub Workflow Build](https://github.com/mxilievski/pulse-eco-ha/actions/workflows/build.yml/badge.svg)

[![PyPI](https://img.shields.io/pypi/v/pulse-eco-ha?logo=pypi&label=PyPI&logoColor=gold)](https://pypi.org/project/pulse-eco-ha)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/pulse-eco)

[![types - Mypy](https://img.shields.io/badge/types-Mypy-blue.svg)](https://github.com/ambv/black)
[![GitHub license](https://img.shields.io/github/license/martinkozle/pulse-eco)](https://github.com/mxilievski/pulse-eco-ha/blob/main/LICENSE)

[![pulse.eco logo](https://pulse.eco/img/pulse-logo-horizontal.svg)](https://pulse.eco)


This project is a customized version based on the [Pulse Eco](https://github.com/martinkozle/pulse-eco) project by [Martin Kozle](https://github.com/martinkozle). The original project is a fantastic initiative, and I want to express my gratitude to Martin and the contributors for their hard work.

## Adjusted Version

This repository serves as an adjusted version tailored for use with Home Assistant. Many thanks to the original developers for laying the groundwork. For detailed documentation, credits, and other information about the original Pulse Eco project, please refer to the [original repository](https://github.com/martinkozle/pulse-eco).

Feel free to explore the original project for a comprehensive understanding of its features and functionality.

## Installation

pulse-eco-ha is avialiable on [PyPI](https://pypi.org/project/pulse-eco-ha):

```console
python -m pip install pulse-eco-ha
```

Requires Python version 3.8+.

## Development

### Install Hatch

<https://hatch.pypa.io/latest/install/>

### Create dev environment

Activate a Python 3.8 environment and run:

```console
hatch env create dev
```

### Install pre-commit hooks

```console
hatch run dev:setup
```

### Create .env file

Set auth credentials in `.env` file:

```console
cp .env.example .env
```

### Before committing

This command must pass without errors before committing:

```console
hatch run dev:check
```
