Metadata-Version: 2.4
Name: pyconnect-ista
Version: 1.0.1
Summary: Python client for istaConnect
Author: Dariusz Pasek
License-Expression: MIT
Project-URL: Homepage, https://github.com/MindMaster72/pyconnect-ista
Project-URL: Repository, https://github.com/MindMaster72/pyconnect-ista
Project-URL: Issues, https://github.com/MindMaster72/pyconnect-ista/issues
Keywords: ista,istaconnect,oauth2,openid,keycloak,pkce,smart-meter,heating,water
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Framework :: AsyncIO
Classifier: Topic :: Internet
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: httpx>=0.28.0
Requires-Dist: beautifulsoup4>=4.12.3
Requires-Dist: lxml>=5.2.2
Provides-Extra: dev
Requires-Dist: pytest>=8.3; extra == "dev"
Requires-Dist: pytest-asyncio>=0.24; extra == "dev"
Requires-Dist: pytest-cov>=5.0; extra == "dev"
Requires-Dist: ruff>=0.6; extra == "dev"
Requires-Dist: mypy>=1.11; extra == "dev"
Requires-Dist: build>=1.2; extra == "dev"
Requires-Dist: twine>=5.1; extra == "dev"
Dynamic: license-file

\# pyconnect-ista
Python client for istaConnect.



\## Installation
```bash
pip install pyconnect-ista


Example

import asyncio
from pyconnect_ista import IstaConnectClient
async def main():

   client = IstaConnectClient()
   try:
       await client.login(
           "email@example.com",
           "password"
       )
       data = await client.latest_consumption()
       print(data)
   finally:
       await client.close()

asyncio.run(main())



Available methods

await client.latest_consumption()
await client.heat_month()
await client.heat_day()
await client.hot_water_month()
await client.hot_water_day()
await client.cold_water_month()
await client.cold_water_day()
await client.rooms()
await client.meters()
await client.property_average()


Project structure

pyconnect_ista/
   __init__.py
   const.py
   exceptions.py
   models.py
   utils.py
   oauth.py
   keycloak.py
   auth.py
   api.py
   client.py
