Skip to main content

pyonwater

EyeOnWater client library

Coverage Status

The usage example:

"""Example showing the EOW Client usage."""

import asyncio

import aiohttp

from pyonwater import Account, Client


async def main() -> None:
    """Main."""
    account = Account(
        eow_hostname="eyeonwater.com",
        username="your EOW login",
        password="your EOW password",
    )
    websession = aiohttp.ClientSession()
    client = Client(websession=websession, account=account)

    await client.authenticate()

    meters = await account.fetch_meters(client=client)
    print(f"{len(meters)} meters found")
    for meter in meters:
        # Read meter info
        await meter.read_meter_info(client=client)
        print(f"meter {meter.meter_uuid} shows {meter.reading}")
        print(f"meter {meter.meter_uuid} info {meter.meter_info}")

        # Read historical data
        await meter.read_historical_data(client=client, days_to_load=3)
        for d in meter.last_historical_data:
            print(d)

    await websession.close()


loop = asyncio.get_event_loop()
loop.run_until_complete(main())

Historical interval timestamps

Hourly and quarter-hour historical data use canonical interval boundaries:

  • DataPoint.dt is the inclusive bucket start.
  • DataPoint.end_dt is the exclusive bucket end when the boundary is known.
  • DataPoint.reading is the cumulative register value at the end of the interval.
  • DataPoint.flow_value is the usage during [dt, end_dt) when supplied by EyeOnWater.

EyeOnWater labels some intervals by their final minute (:14, :29, :44, or :59). The client normalizes those labels rather than exposing them as bucket starts. For resolutions without verified boundary semantics, end_dt remains None.

Metadata

Release files for pyonwater 0.3.42

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

Source distribution (sdist)

Source distribution for pyonwater 0.3.42
File Size Uploaded Provenance Actions
pyonwater-0.3.42.tar.gz 19.3 kB With provenance Details for pyonwater-0.3.42.tar.gz

Built distribution (wheel)

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

Total release size: 42.5 kB

Release files / pyonwater-0.3.42.tar.gz

Download URL pyonwater-0.3.42.tar.gz
Size 19.3 kB
Tags Source
SHA-256 checksum
How to use checksums
fd64a4591a817e5eca245575a55dd161c83475b3746278d4db62db5ce155fc54
BLAKE2b-256 checksum
How to use checksums
6895e2f879152ac8042da9b1a6083b0faa0691e7f5e5733f214d5b6cfda6d2e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 19, 2026.

Transparency log

Release files / pyonwater-0.3.42-py3-none-any.whl

Download URL pyonwater-0.3.42-py3-none-any.whl
Size 23.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4be9c843590fc3661fb647177fca949088c455c48b4cbfa52e0b5be8bd3bab29
BLAKE2b-256 checksum
How to use checksums
87f38367562e91cb504f9131dad5793366ff6a65fe7a60afff71c9265eb6f7ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 19, 2026.

Transparency log

Security for pyonwater 0.3.42

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 pyonwater-0.3.42.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 Sep 19, 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

0.3.42 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