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.41

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.41
File Size Uploaded Provenance Actions
pyonwater-0.3.41.tar.gz 19.3 kB With provenance Details for pyonwater-0.3.41.tar.gz

Built distribution (wheel)

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

Total release size: 42.4 kB

Release files / pyonwater-0.3.41.tar.gz

Download URL pyonwater-0.3.41.tar.gz
Size 19.3 kB
Tags Source
SHA-256 checksum
How to use checksums
506b1a49b838afd7b69a01b79a813b27a4f32e2cde75b62bc870ce12000dc0d4
BLAKE2b-256 checksum
How to use checksums
58b84e820dfac96691f12aebb99ffdd90cbb15cb1d26605f0e97d4afe8dd9ca4
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.41-py3-none-any.whl

Download URL pyonwater-0.3.41-py3-none-any.whl
Size 23.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d97af875cfe94da359fd15312b4ca754d94ac7516df51187c1f209d2d1f5a052
BLAKE2b-256 checksum
How to use checksums
0054aeeeff241d25cb8ee875d8dcea027691f38930822c3f7f70d365b13b30bc
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.41

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.41.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.41 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