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())
The example above uses pydrawise.Hydrawise, which talks to Hydrawise's GraphQL API. Pydrawise
also provides a REST API client (pydrawise.rest.RestClient) and a hybrid client
(pydrawise.hybrid.HybridClient) that prefers GraphQL but falls back to REST when GraphQL
requests are throttled. See the usage guide
for more examples, and the full API reference
for details.
Installation
Pip
To install pydrawise, 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 .
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-2026.9.0.tar.gz.
File metadata
- Download URL: pydrawise-2026.9.0.tar.gz
- Upload date:
- Size: 190.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c303b0fc02ed5aeebf67d5b56881d74a6c32b916e19ee644b8ee88bde0b49d80
|
|
| MD5 |
cc57170bdd7d75c2a06081e6d0a84986
|
|
| BLAKE2b-256 |
90c5074f8c42fc0da6794ffa4fe909619c03cdcbaf8480962c9e2e1ebbd08307
|
Provenance
The following attestation bundles were made for pydrawise-2026.9.0.tar.gz:
Publisher:
publish-python.yml on dknowles2/pydrawise
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pydrawise-2026.9.0.tar.gz -
Subject digest:
c303b0fc02ed5aeebf67d5b56881d74a6c32b916e19ee644b8ee88bde0b49d80 - Sigstore transparency entry: 2763949647
- Sigstore integration time:
-
Permalink:
dknowles2/pydrawise@8f81f52663b800a73fc7c43b99b54b54c117c765 -
Branch / Tag:
refs/tags/2026.9.0 - Owner: https://github.com/dknowles2
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-python.yml@8f81f52663b800a73fc7c43b99b54b54c117c765 -
Trigger Event:
release
-
Statement type:
File details
Details for the file pydrawise-2026.9.0-py3-none-any.whl.
File metadata
- Download URL: pydrawise-2026.9.0-py3-none-any.whl
- Upload date:
- Size: 44.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d20bfea4251c09beb8951889ef5d4e9de4f54637db48bda464625a12548a5b3b
|
|
| MD5 |
f8374fa6cb1b82e19255cbfa3027fa46
|
|
| BLAKE2b-256 |
a7bd4622eeab9de96095ab3f13d2514f9392f1db5407be84ad82ec889879a809
|
Provenance
The following attestation bundles were made for pydrawise-2026.9.0-py3-none-any.whl:
Publisher:
publish-python.yml on dknowles2/pydrawise
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pydrawise-2026.9.0-py3-none-any.whl -
Subject digest:
d20bfea4251c09beb8951889ef5d4e9de4f54637db48bda464625a12548a5b3b - Sigstore transparency entry: 2763949707
- Sigstore integration time:
-
Permalink:
dknowles2/pydrawise@8f81f52663b800a73fc7c43b99b54b54c117c765 -
Branch / Tag:
refs/tags/2026.9.0 - Owner: https://github.com/dknowles2
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-python.yml@8f81f52663b800a73fc7c43b99b54b54c117c765 -
Trigger Event:
release
-
Statement type: