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 .

Metadata

Release files for pydrawise 2026.11.0

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.11.0
File Size Uploaded Provenance Actions
pydrawise-2026.11.0.tar.gz 241.7 kB With provenance Details for pydrawise-2026.11.0.tar.gz

Built distribution (wheel)

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

Total release size: 296.3 kB

Release files / pydrawise-2026.11.0.tar.gz

Download URL pydrawise-2026.11.0.tar.gz
Size 241.7 kB
Tags Source
SHA-256 checksum
How to use checksums
23730d5206ca4295d6f3e76a0644baa5528a7a064603822e67eaed7ed631e36f
BLAKE2b-256 checksum
How to use checksums
22331720bd7a6e0931330ec85e075028899982baef48659751270609a99751da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 16, 2026.

Transparency log

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

Download URL pydrawise-2026.11.0-py3-none-any.whl
Size 54.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
14bf5ea9893b8cc0d4f2215c8da609596b3bd965699778dc0cc643d6903d3693
BLAKE2b-256 checksum
How to use checksums
49fb832895638f4160b5b9ec166552de1924f7179312499a54f06825eede6a59
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 16, 2026.

Transparency log

Security for pydrawise 2026.11.0

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

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pydrawise-2026.11.0.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 Nov 16, 2026.

Transparency log

A 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.

Release history Release notifications | RSS feed

This release

2026.11.0 This release

2 release files Full provenance

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