lowatt-enedis
A command-line tool and Python library to access Enedis SGE SOAP web-services, provided by LOWATT.
Disclaimer: this package is NOT affiliated to Enedis, but provided by Lowatt in case it could be useful to other users of the SGE web-services provided by Enedis.
Licensing
It is published under the terms of the GPL 3 license.
Installation
pip install lowatt-enedis
Command line usage
See lowatt-enedis --help for CLI usage. You'll be able to call the services
controlled using options and see the SOAP response. You can take a look at
doc/homologation.md for a sample session to go through Enedis'homologation
process.
Some flags are required by all or most of the commands so they can be configured once by their respective environment variables.
| Option | Environment variable |
|---|---|
--cert-file |
ENEDIS_CERT_FILE |
--key-file |
ENEDIS_KEY_FILE |
--login |
ENEDIS_LOGIN |
--contrat |
ENEDIS_CONTRAT |
Python library usage
Here is a sample code to access to the ConsultationMesuresDetaillees from
Python code :
import datetime
import lowatt_enedis
import lowatt_enedis.services
config = {
'login': 'you@example.com',
'certificateFile': 'fullchain.pem',
'keyFile': 'privkey.pem',
'prm': '30000123456789',
}
# get client for the 'details' service using appropriate client
# certificate and key
client = lowatt_enedis.get_client(
lowatt_enedis.COMMAND_SERVICE['details'][0],
config['certificateFile'], config['keyFile'],
)
# actually call the web to get values for the past week
resp = lowatt_enedis.services.point_detailed_measures(client, {
'login': config['login'],
'prm': config['prm'],
'type': 'COURBE',
'courbe_type': 'PA',
'corrigee': True,
'from': datetime.date.today() - datetime.timedelta(days=7),
'to': datetime.date.today(),
})
# get a list of (UTC timestamp, value(W))
data = lowatt_enedis.services.measures_resp2py(resp)
Contributions
Contribution are welcome through the Github repository.
Feel free to contact for more info by writing at info@lowatt.fr.
Sponsors
Metadata
Release files for lowatt-enedis 3.3.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| lowatt_enedis-3.3.2.tar.gz | 167.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| lowatt_enedis-3.3.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 362.2 kB
Release files / lowatt_enedis-3.3.2.tar.gz
| Download URL | lowatt_enedis-3.3.2.tar.gz |
|---|---|
| Size | 167.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
763d9afa285fc463104f920c8de06d105a8605d0893e9e44dd5e844804b360f0
|
|
BLAKE2b-256 checksum How to use checksums |
3079e5bfad775e66750ad8f9d4ebec489543e98c7c2aed8110bf4f7f1eed5907
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jun 23, 2026.
Transparency logRelease files / lowatt_enedis-3.3.2-py3-none-any.whl
| Download URL | lowatt_enedis-3.3.2-py3-none-any.whl |
|---|---|
| Size | 194.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f72a2e18897fbdc5f5747a148a6246202460ba0f7d65b6fcb0bdfef94ad7165e
|
|
BLAKE2b-256 checksum How to use checksums |
d25b619687cbaa412f87b137c6b57a56a1b64ba939c9cdf0d0939af53d2f0c65
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jun 23, 2026.
Transparency log