Skip to main content

Python API for interacting with Hydrawise sprinkler controllers.

Project description

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())

Installation

Pip

To install pydrawse, 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 .

Project details


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.7.0.tar.gz (118.6 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.7.0-py3-none-any.whl (41.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pydrawise-2026.7.0.tar.gz
  • Upload date:
  • Size: 118.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for pydrawise-2026.7.0.tar.gz
Algorithm Hash digest
SHA256 dea6536eedabb88f58897aaaa31f7da58d18f72318fb1eb1806b495ed2298766
MD5 2b4b353f27cf7177006cf7e2d95480d8
BLAKE2b-256 61f698d259d0e9babaa63957c4ead5bbedff1e3f9d6573b756e9c69aa6d5fcfa

See more details on using hashes here.

File details

Details for the file pydrawise-2026.7.0-py3-none-any.whl.

File metadata

  • Download URL: pydrawise-2026.7.0-py3-none-any.whl
  • Upload date:
  • Size: 41.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for pydrawise-2026.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 91efb803259ac8248c9bea4f638f8cfda047d45d9bfb1d01fad1f0e163f76afa
MD5 7bf575f92bdea2d579d51726cce4a7d4
BLAKE2b-256 0b02321fa6f969f62d799cb796b206087ceafe7063f6bc21411acabcea7f81e7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page