Skip to main content

Pydrawise

Build and Test pypi version docs

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 .

Release files for pydrawise 2026.9.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pydrawise 2026.9.1
File Size Uploaded
pydrawise-2026.9.1.tar.gz 191.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pydrawise 2026.9.1
File Interpreter ABI Platform
pydrawise-2026.9.1-py3-none-any.whl Python 3 none any Details

Total release size: 235.8 kB

Release files / pydrawise-2026.9.1.tar.gz

Download URL pydrawise-2026.9.1.tar.gz
Size 191.2 kB
Tags Source
SHA-256 checksum
How to use checksums
b457eb475b788a527f6a81a0326cd4c06f0806c5877d9ca61ebe9adc7ba38551
BLAKE2b-256 checksum
How to use checksums
42519629fdf82c0af20a67fedca050a128cac628500d39db5435ddad6fb04f1e
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 Sep 25, 2026.

Transparency log

Release files / pydrawise-2026.9.1-py3-none-any.whl

Download URL pydrawise-2026.9.1-py3-none-any.whl
Size 44.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
65dea816a19d6b9e6df64ac3b9fa6c4b57d13bfec39e6c74be8eded3f2f70f93
BLAKE2b-256 checksum
How to use checksums
f0040d7b379a38444f72b96fd60831a7f1dd49e9c3dbc9c18e2f6238f7fc9278
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 Sep 25, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

2026.9.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page