Metadata-Version: 2.4 Name: solarman-opendata Version: 0.0.3 Summary: Asynchronous Python API for Solarman devices Author-email: solarmanpv License-Expression: Apache-2.0 Project-URL: Homepage, https://github.com/solarmanpv/solarman-opendata Project-URL: Repository, https://github.com/solarmanpv/solarman-opendata Project-URL: Issues, https://github.com/solarmanpv/solarman-opendata/issues Keywords: solarman,iot,home automation Classifier: Intended Audience :: Developers Classifier: Topic :: Home Automation Classifier: Topic :: Software Development :: Libraries :: Python Modules Classifier: Programming Language :: Python :: 3 Classifier: Programming Language :: Python :: 3.12 Classifier: Operating System :: OS Independent Requires-Python: >=3.12 Description-Content-Type: text/markdown License-File: LICENSE Requires-Dist: aiohttp>=3.8.0 Provides-Extra: dev Requires-Dist: pytest>=7.0; extra == "dev" Requires-Dist: pytest-asyncio>=0.21.0; extra == "dev" Requires-Dist: pytest-mock>=3.10.0; extra == "dev" Requires-Dist: flake8>=6.0.0; extra == "dev" Requires-Dist: mypy>=1.0.0; extra == "dev" Requires-Dist: black>=23.0.0; extra == "dev" Requires-Dist: isort>=5.12.0; extra == "dev" Requires-Dist: types-requests>=2.31.0; extra == "dev" Dynamic: license-file # Solarman Python client for interacting with Solarman devices over local network. ## Installation ```bash pip install solarman-opendata ``` ## Usage ### Basic Example ```python import asyncio import aiohttp from solarman_opendata.solarman import Solarman async def main(): host = "190.160.3.43" port = 8080 async with aiohttp.ClientSession() as session: client = Solarman( session=session, host=host, port=port ) data = await client.fetch_data() print(data) if __name__ == "__main__": asyncio.run(main()) ``` ## Contributing Contributions are welcome! Please open an issue or submit a pull request.