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.8.0.tar.gz (188.2 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.8.0-py3-none-any.whl (43.8 kB view details)

Uploaded Python 3

File details

Details for the file pydrawise-2026.8.0.tar.gz.

File metadata

  • Download URL: pydrawise-2026.8.0.tar.gz
  • Upload date:
  • Size: 188.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for pydrawise-2026.8.0.tar.gz
Algorithm Hash digest
SHA256 04dfe21ae93a84ac2701ff9149ff9b3cdc85f70ded743d92978d0a2053e27d5d
MD5 334a2985e7bf8721e0833ca7668f6ec5
BLAKE2b-256 470c517960df3ce286666ba13c2f9c3615dc6d6ff42e0e8a92c4cb9409d83320

See more details on using hashes here.

Provenance

The following attestation bundles were made for pydrawise-2026.8.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.8.0-py3-none-any.whl.

File metadata

  • Download URL: pydrawise-2026.8.0-py3-none-any.whl
  • Upload date:
  • Size: 43.8 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.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e36a45975e982e7cf919eb2095f37f2fe77a67e9176ad1e7145e752a8586d3d2
MD5 741a5b937f6d7abf41740dfd0fdb8050
BLAKE2b-256 9cfca041e7dcc3c85a1efe161111fd6176ba5badcdd6ac87dcb2bc4508ad3598

See more details on using hashes here.

Provenance

The following attestation bundles were made for pydrawise-2026.8.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

2026.9.0

2 files

This release

2026.8.0 This release

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