Skip to main content

iec-api

A python wrapper for Israel Electric Company API

Module Usage

from iec_api import iec_client as iec

client = iec.IecClient("123456789")
try:
    await client.manual_login()  # login with user inputs
except iec.exceptions.IECError as err:
    logger.error(f"Failed Login: (Code {err.code}): {err.error}")
    raise

customer = await client.get_customer()
print(customer)

contracts = await client.get_contracts()
for contract in contracts:
    print(contract)

reading = await client.get_last_meter_reading(customer.bp_number, contracts[0].contract_id)
print(reading)

Postman

To use the API manually through Postman - read Postman Collection Guide

Metadata

Release files for iec-api 0.5.17

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

Source distribution (sdist)

Source distribution for iec-api 0.5.17
File Size Uploaded Provenance Actions
iec_api-0.5.17.tar.gz 197.7 kB Without provenance Details for iec_api-0.5.17.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for iec-api 0.5.17
File Interpreter ABI Platform Actions
iec_api-0.5.17-py3-none-any.whl Python 3 none any Details for iec_api-0.5.17-py3-none-any.whl

Total release size: 266.3 kB

Release files / iec_api-0.5.17.tar.gz

Download URL iec_api-0.5.17.tar.gz
Size 197.7 kB
Tags Source
SHA-256 checksum
How to use checksums
6ec6450fbdde110bf399ae0d005e061cd4ee3b2a46263c40d0f6438ff9c9e733
BLAKE2b-256 checksum
How to use checksums
8a82fc74a6a112662422cb82a488b04a648e6fa8029478ae7b2a24ba1e882404
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / iec_api-0.5.17-py3-none-any.whl

Download URL iec_api-0.5.17-py3-none-any.whl
Size 68.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f954a2182186f3361ba64e20b7e79784ebc9205c8b252a8e891e6e5c66fe00dd
BLAKE2b-256 checksum
How to use checksums
87ca32d20de50e2c0f1f56c3d0f58049206079430ec6856a54b3f20eeae18508
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for iec-api 0.5.17

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

0.5.17 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