


Without input checks, error handling, code structuring, and all the things you The followingĮxamples show some typical uses cases (note that these are just examples Client ( 8080 )Īn instance of the olca.Client class is then a convenient entry point forĬalling functions of openLCA and processing their results. 8080, to which you connect from an IPC client: import olca client = olca. You can do this via the user interface in openLCA under In order to communicate with openLCA, you first need to start an openLCA IPC
#Openlca example install
If you want to use the current development branch you canĪnd install it from the extracted folder: # optionally, first uninstall it Use it, you can just install (and uninstall) it with pip: pip install -U olca-ipc The current stable version of olca-ipc is available via the

IPC server via instances of these classes. The openLCA data exchange format and an API for communicating with an openLCA The olca-ipc package provides a class based implementation of The openLCA IPC protocol is based on the openLCA data exchange format which is Python (Cpython v3.9+) so that it is possible to use openLCA as a data storageĪnd calculation engine and combine it with the libraries from the Python Package provides a convenience API for using this IPC protocol from standard In openLCA and processing their results outside of openLCA. With this, it is possible to call functions Pip install -U provides an implementation If you want to use the latest development version, just install Not all features and bug-fixes are currently available on the version
