Skip to main content

Thames-Water

pip install thameswaterclient

Thames water API client, login with:

from thameswaterclient import ThamesWater

email = 'myname@provider.com'
password = '**********'
account_number = 123456789

thames_water = ThamesWater(email=email, password=password, account_number=account_number)

You can then retrieve your hourly data and convert it into a pandas series

from thameswaterclient import meter_usage_lines_to_timeseries

meter = 123456789
start = datetime.date(2024, 10, 1)
end = datetime.date(2024, 12, 31)

meter_usage = thames_water.get_meter_usage(meter, start, end)
s_readings = meter_usage_lines_to_timeseries(start, end, meter_usage.Lines)

Metadata

Release files for thameswaterclient 0.1.5

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

Source distribution (sdist)

Source distribution for thameswaterclient 0.1.5
File Size Uploaded
thameswaterclient-0.1.5.tar.gz 4.0 kB Details

Built distribution (wheel)

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

Total release size: 8.3 kB

Release files / thameswaterclient-0.1.5.tar.gz

Download URL thameswaterclient-0.1.5.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
b77b17716a7475293f94feb8dd077f319fa8e5c7555994e6adaa5d0519cd7c62
BLAKE2b-256 checksum
How to use checksums
868a89e4fef2ef7c929ae9b181ff12e75c9f29117acc876e19135628c426525a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.12.3 Darwin/23.5.0

Release files / thameswaterclient-0.1.5-py3-none-any.whl

Download URL thameswaterclient-0.1.5-py3-none-any.whl
Size 4.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6c5b8aac5659e4beeaf48f63563b862147dcee3452c133aec558298e88f6157d
BLAKE2b-256 checksum
How to use checksums
06b9f98efc028a96a1a7a79fc703503b6790fb524ebe9241a60445cac4316225
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.12.3 Darwin/23.5.0

Release history Release notifications | RSS feed

This release

0.1.5 This release

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

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