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 .

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pydrawise-2026.9.0.tar.gz (190.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pydrawise-2026.9.0-py3-none-any.whl (44.3 kB view details)

Uploaded Python 3

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

Hashes for pydrawise-2026.9.0.tar.gz
Algorithm Hash digest
SHA256 c303b0fc02ed5aeebf67d5b56881d74a6c32b916e19ee644b8ee88bde0b49d80
MD5 cc57170bdd7d75c2a06081e6d0a84986
BLAKE2b-256 90c5074f8c42fc0da6794ffa4fe909619c03cdcbaf8480962c9e2e1ebbd08307

See more details on using hashes here.

Provenance

The following attestation bundles were made for pydrawise-2026.9.0.tar.gz:

Publisher: publish-python.yml on dknowles2/pydrawise

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for pydrawise-2026.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d20bfea4251c09beb8951889ef5d4e9de4f54637db48bda464625a12548a5b3b
MD5 f8374fa6cb1b82e19255cbfa3027fa46
BLAKE2b-256 a7bd4622eeab9de96095ab3f13d2514f9392f1db5407be84ad82ec889879a809

See more details on using hashes here.

Provenance

The following attestation bundles were made for pydrawise-2026.9.0-py3-none-any.whl:

Publisher: publish-python.yml on dknowles2/pydrawise

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

2026.9.0 This release

2 files

2026.8.0

2 files

2026.7.1

2 files

2026.7.0

2 files

2026.6.0

2 files

2026.4.0

2 files

2026.3.0

2 files

2025.9.0

2 files

2025.7.0

2 files

2025.6.0

2 files

2025.3.0

2 files

2025.2.0

2 files

2025.1.0

2 files

2024.12.0

2 files

2024.9.0

2 files

2024.8.0

2 files

2024.6.5

2 files

2024.6.4

2 files

2024.6.3

2 files

2024.6.2

2 files

2024.6.1

2 files

2024.4.1

2 files

2024.4.0

2 files

2024.3.0

2 files

2024.2.0

2 files

2024.1.1

2 files

2024.1.0

2 files

2023.12.1

2 files

2023.12.0

2 files

2023.11.0

2 files

2023.10.0

2 files

2023.9.4

2 files

2023.9.3

2 files

2023.9.2

2 files

2023.9.1

2 files

2023.9.0

2 files

2023.8.0

2 files

2023.7.1

2 files

2023.7.0

2 files

2023.5.2

2 files

2023.5.1

2 files

2023.5.0

2 files

2023.1.4

2 files

2023.1.3

2 files

2023.1.2

2 files

2023.1.1

2 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