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 py-iec62056 1.1.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| py_iec62056-1.1.1.1.tar.gz | 2.5 kB | Without provenance | Details for py_iec62056-1.1.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| py_iec62056-1.1.1.1-py3-none-any.whl | Python 3 | none | any | Details for py_iec62056-1.1.1.1-py3-none-any.whl |
Total release size: 5.1 kB
Release files / py_iec62056-1.1.1.1.tar.gz
| Download URL | py_iec62056-1.1.1.1.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fafffc6e981977ee26d3f686c2e8bdbf64f573f3ee7f50f6908443ddbde5b272
|
|
BLAKE2b-256 checksum How to use checksums |
a960d0b178bc0a2e2a2d7d8559651620f232869bccbd63c2699815bb5458b9d6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.12.0
|
Release files / py_iec62056-1.1.1.1-py3-none-any.whl
| Download URL | py_iec62056-1.1.1.1-py3-none-any.whl |
|---|---|
| Size | 2.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
129abc5134ccaeb7474df6f4fc7e40b7b9607113e38a8f5bd48cc9783eae08d4
|
|
BLAKE2b-256 checksum How to use checksums |
9028f8131b6f5a96c4866533a692e1d374e799bede78c20efbf81d5ce76c026e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.12.0
|
Security for py-iec62056 1.1.1.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.