Skip to main content

Watr Python 1.0.0

A python library for the Watr API.

Installation

pip3 install watr

Requirements

  • Python 3.6+

Usage

from watr import WatrApi

# some await things here...
watrApi = WatrApi("your@email.com", "yourpassword123")
# or if you have tokens already
watrApi = WatrApi(access_token="youraccesstoken", refresh_token="yourrefreshtoken")
watrSystem = WatrSystem({}, watrApi)
sprinkler_systems = watrSystem.get_systems()
home_system = sprinkler_systems[0]
if home_system.enabled():
    sprinkler_systems[0].toggle()
sprinkler_systems[0].zones[0].toggle()

Documentation

More indepth documentation is available at https://watr.peasenet.com/docs/python

Metadata

Release files for watr 0.0.6

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

Source distribution (sdist)

Source distribution for watr 0.0.6
File Size Uploaded
watr-0.0.6.tar.gz 7.1 kB Details

Built distribution (wheel)

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

Total release size: 16.0 kB

Release files / watr-0.0.6.tar.gz

Download URL watr-0.0.6.tar.gz
Size 7.1 kB
Tags Source
SHA-256 checksum
How to use checksums
65f240c491fb7e1a3a5d46d06d4c7aa7deff5933c8972390e0cdaf7bcf296fe5
BLAKE2b-256 checksum
How to use checksums
8993066fdfaa7857038866c9fb22a8b9ee33ffdef280bc464a1586b21f4242e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.1.dev0+g94f810c.d20240510 CPython/3.12.3

Release files / watr-0.0.6-py3-none-any.whl

Download URL watr-0.0.6-py3-none-any.whl
Size 8.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
068dc1cc3d848cc964b5882116dc3e0c374c9ebb0e82dd3ee2458a8569aec04c
BLAKE2b-256 checksum
How to use checksums
ce61b906e34850461bd5ea511b8a3febf3f98647a65d862b1ddad825633a03bb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.1.dev0+g94f810c.d20240510 CPython/3.12.3

Release history Release notifications | RSS feed

This release

0.0.6 This release

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

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