Skip to main content

Package for accessing nodejs-poolController

Project description

poolcontrolpy

Package for accessing nodejs-poolController for use with a planned Home Assistant integration.

Installation

$ pip install poolcontrolpy

Usage

Configure pool controller and confirm successful connection.

import asyncio
import aiohttp

from poolcontrolpy.poolcontrolpy import Controller


async def checkconnection():

    async with aiohttp.ClientSession() as client:
        controller = Controller(client, "10.0.20.13", 4200)
        return await controller.checkconnect()

resp = asyncio.run(checkconnection())
print(resp)

Note: This example uses 'asyncio.run' so it cannot be called when another asyncio event loop is running in the same thread.

Contributing

Interested in contributing? Check out the contributing guidelines. Please note that this project is released with a Code of Conduct. By contributing to this project, you agree to abide by its terms.

License

poolcontrolpy was created by Kevin Robinson. It is licensed under the terms of the MIT license.

Credits

poolcontrolpy was created with cookiecutter and the py-pkgs-cookiecutter template.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

poolcontrolpy-0.2.16.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

poolcontrolpy-0.2.16-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file poolcontrolpy-0.2.16.tar.gz.

File metadata

  • Download URL: poolcontrolpy-0.2.16.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for poolcontrolpy-0.2.16.tar.gz
Algorithm Hash digest
SHA256 7fdcc8cf8c037605ddca69cb527866be4da55c7ceb5679c5f2e5aa34fa394902
MD5 b54f839472fb58bf97b3277cb4aa28a8
BLAKE2b-256 2c28d1bf9a5b70c844836d52a284ba1051befc1a406a8c87b6819f48c0d88ce4

See more details on using hashes here.

File details

Details for the file poolcontrolpy-0.2.16-py3-none-any.whl.

File metadata

File hashes

Hashes for poolcontrolpy-0.2.16-py3-none-any.whl
Algorithm Hash digest
SHA256 ed188741a191f4ed1d425971b9144908bdc7850332c62737f25ce25bb31adae7
MD5 6ed7d16483db5af7854b70a0079ba166
BLAKE2b-256 49c10b58da808e4ac4f88fe5538227c59c0e0de56244d320990ceb6fc13b06e9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page