ECP
Python implementation of ECP* SOAP MADES API
*ENTSO-E Energy Communication Platform (ECP) Software - https://www.entsoe.eu/data/ECP/
Installation
pip install ecp-api
or
pip install --user ecp-api
or
python -m pip install --user ecp-api
Usage
Initialise
import ECP
client = ECP.Client("https://ecp.elering.sise")
Send message
with open("message.xml", "rb") as loaded_file:
message_ID = client.send_message("10V000000000011Q", "RIMD", loaded_file.read())
Check message status
status = client.check_message_status(message_ID)
Retrieve message
message = client.receive_message()
Confirm retrieval of message
client.confirm_received_message(message.receivedMessage.messageID)
Save message on drive
in case of excel use .xlsx and in case of PDF use .pdf and etc
with open("report.xml", 'wb') as report_file:
report_file.write(message.receivedMessage.content)
Save message as file like object in memory
file_like_object = io.BytesIO(message.receivedMessage.content)
Metadata
Release files for ecp-api 0.0.7
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 |
|---|---|---|---|---|
| ecp-api-0.0.7.tar.gz | 20.6 kB | Without provenance | Details for ecp-api-0.0.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ecp_api-0.0.7-py3-none-any.whl | Python 3 | none | any | Details for ecp_api-0.0.7-py3-none-any.whl |
Total release size: 33.2 kB
Release files / ecp-api-0.0.7.tar.gz
| Download URL | ecp-api-0.0.7.tar.gz |
|---|---|
| Size | 20.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4c2d84778ced79238ad624f9915c59259c559ef26ee35245db8f5553f10da6b8
|
|
BLAKE2b-256 checksum How to use checksums |
befdeed375b7a292584920ab9e3b6fe3864a8f56bd3491a44bdef50e2e9cfc74
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.7.17
|
Release files / ecp_api-0.0.7-py3-none-any.whl
| Download URL | ecp_api-0.0.7-py3-none-any.whl |
|---|---|
| Size | 12.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bee15a3d89465ccc648e323750990607d505cb4470afea9ed2eb04e8f484f9f9
|
|
BLAKE2b-256 checksum How to use checksums |
2eefd50238ac749b62754f55ddc729f123ba100bc3347045c626757a0823150f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.7.17
|
Security for ecp-api 0.0.7
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.