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 .
Metadata
Release files for pydrawise 2026.10.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pydrawise-2026.10.1.tar.gz | 233.5 kB | With provenance | Details for pydrawise-2026.10.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pydrawise-2026.10.1-py3-none-any.whl | Python 3 | none | any | Details for pydrawise-2026.10.1-py3-none-any.whl |
Total release size: 287.0 kB
Release files / pydrawise-2026.10.1.tar.gz
| Download URL | pydrawise-2026.10.1.tar.gz |
|---|---|
| Size | 233.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e9c4fa56c379f0627b4c5c052cd6f658769154f4fc12678d65f452bcb61cd2ff
|
|
BLAKE2b-256 checksum How to use checksums |
88f30260a51e1f46f8d76ea48528a27181da616e4f04648f22696618a04c34ab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 11, 2026.
Transparency logRelease files / pydrawise-2026.10.1-py3-none-any.whl
| Download URL | pydrawise-2026.10.1-py3-none-any.whl |
|---|---|
| Size | 53.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ea8ff7dbb240054f45406f2ffb9cf5972f9ec6b4eb0957583f43f8cdf473d77d
|
|
BLAKE2b-256 checksum How to use checksums |
04f596e40dc51e818494b766deef20fe6ab6a9df3151042d1942aa46a064cd3c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 11, 2026.
Transparency logSecurity for pydrawise 2026.10.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for pydrawise-2026.10.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 11, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.