This repository contains images for the ERACS Python Interface.
388
The ERACS Python Interface docker images are intended to be used as base images for (web) applications that wish to harness the capability of the ERACS Python Interface. However, you can also pull any of these images directly and use them to execute the example scripts or custom written scripts.
For more information on the ERACS Python Interface and its capabilities, please read the documentation.
docker run eracs/python-interface:VERSION [COMMAND]
Below is an example of running the latest image to perform a Loadflow study using the LFExampleNoGUI.py example script, provided with the ERACS Python Interface...
docker run eracs/python-interface:latest "C:/Program Files (x86)/ERACS/Python/Examples/Loadflow/LFExampleNoGUI.py"
The COMMAND is optional, if no script path is given then the image will enter into a long-running Python process (process ID 1). If you were to do this in detached mode, you can use docker exec to execute a new process such as Powershell and perform various operations whilst the container remains running.
Each version of the ERACS Python Interface is available via its appropriately tagged dedicated image. Users may wish to remain on the latest version of the ERACS Python Interface without needing to explicitly upgrade, so, to fulfil that requirement we provide a latest tagged image. However, we do not recommend using latest, because breaking changes may cause unexpected behaviour to occur. Earlier versions of the ERACS Python Interface (< 1.3.0) are missing because they predate ERACS' support of Docker.
The ERACS Python Interface images are built upon a Microsoft Windows Server Core base image. The following are useful paths which may be worth remembering...
DLLs (dynamic link libraries) are provided.The following tools are installed into every ERACS Python Interface docker image.
The default user inside the ERACS Python Interface image is Eracs. This user account has administrative rights and can be used to perform any necessary operations.
Content type
Image
Digest
sha256:1a9edd84a…
Size
2.8 GB
Last updated
almost 4 years ago
docker pull eracs/python-interface