Python API for interacting with Hydrawise sprinkler controllers.
Project description
Pydrawise
Pydrawise is an asynchronous Python 3 library for interacting with Hydrawise sprinkler controllers.
Note that this project has no official relationship with Hydrawise or Hunter. Use at your own risk.
Usage
import asyncio
from pydrawise import Auth, Hydrawise
async def main():
# Create a Hydrawise object and authenticate with your credentials.
h = Hydrawise(Auth("username", "password"))
# List the controllers attached to your account.
controllers = await h.get_controllers()
# List the zones controlled by the first controller.
zones = await h.get_zones(controllers[0])
# Start the first zone.
await h.start_zone(zones[0])
if __name__ == "__main__":
asyncio.run(main())
Installation
Pip
To install pydrawse, run this command in your terminal:
$ pip install pydrawise
Source code
Pydrawise is actively developed on Github, where the code is always available.
You can either clone the public repository:
$ git clone https://github.com/dknowles2/pydrawise
Or download the latest tarball:
$ curl -OL https://github.com/dknowles2/pydrawise/tarball/main
Once you have a copy of the source, you can embed it in your own Python package, or install it into your site-packages easily:
$ cd pydrawise
$ python -m pip install .
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pydrawise-2025.9.0.tar.gz.
File metadata
- Download URL: pydrawise-2025.9.0.tar.gz
- Upload date:
- Size: 50.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dd1da0ff60a9d70147c036fafbd6111a44aa30064615d7ea36bfc1f8edf0659f
|
|
| MD5 |
15fb064e3b58123f1a94539bc7ac0f5f
|
|
| BLAKE2b-256 |
ccf7d97d33a9b73e649ed268d7995b45b268c3d166d4176bb0ca01203b583eed
|
File details
Details for the file pydrawise-2025.9.0-py3-none-any.whl.
File metadata
- Download URL: pydrawise-2025.9.0-py3-none-any.whl
- Upload date:
- Size: 39.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4a388e70de7f8af3085d2daaff266756a1b254ccd672e4c59f5ac22d50aa3f92
|
|
| MD5 |
055fd6b2ddc43c7f4e4e7b86c4e70bff
|
|
| BLAKE2b-256 |
6994c560a95cfd4317115e110be8b9a4681a4966d88ec7495c503588be48b26b
|