Skip to main content

Python IEC62056 Meter Tools

How to use ?

Install

pip install py-iec62056

Create SerialClient

client = SerialClient(
    baudrate=19200,
    port="COM3",
    transport="serial",
    parity="E",
    bytesize=7,
    stopbits=1
)

Read A meter identification

This return an identification message from the meter. You must set the ack_stop to True if you don't want to meter to give the default table.

result = client.read_tariff_identification("5987893", ack_stop=True)

Read Table dataset

This will return a list of DataSet instance. Raise error if Timeout.

result = client.request(meter_address="5987893", table=7, timeout=30)
assert isinstance(result, TariffResponse)
for dataset in result.data:
    logging.info(f"{dataset}")

Metadata

Release files for iec62056-protocol 1.0.1

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

Source distribution (sdist)

Source distribution for iec62056-protocol 1.0.1
File Size Uploaded Provenance Actions
iec62056-protocol-1.0.1.tar.gz 2.5 kB Without provenance Details for iec62056-protocol-1.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for iec62056-protocol 1.0.1
File Interpreter ABI Platform Actions
iec62056_protocol-1.0.1-py3-none-any.whl Python 3 none any Details for iec62056_protocol-1.0.1-py3-none-any.whl

Total release size: 5.1 kB

Release files / iec62056-protocol-1.0.1.tar.gz

Download URL iec62056-protocol-1.0.1.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
3c89ef9295c0ceb537ab69621aad1d4f6fc8acbcc6c2ec74f182c5c601aea6a4
BLAKE2b-256 checksum
How to use checksums
8cbedd0dda8cd79ff04dac983a1fac628a7e37f60a03917d02f1f00ff88cf66f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.0

Release files / iec62056_protocol-1.0.1-py3-none-any.whl

Download URL iec62056_protocol-1.0.1-py3-none-any.whl
Size 2.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c69918f32c0dc3d1e67180ebd3705ac74ae1664854d647adfe0e235095005133
BLAKE2b-256 checksum
How to use checksums
16000645e88f0f5e6cb8548a23496ae4a612bfe9a9f72c3787762eb381ef3d21
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.0

Security for iec62056-protocol 1.0.1

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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

1.0.1 This release

2 release files No 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