API

In version 1.2 the API is added. The command line version (CLI) is required.

Documentation for the Python API

Download the Python API

https://github.com/das-element/python-api

Documentation

http://docu.api.das-element.com

Install

Download folder: daselement_api

In the background the CLI version of das element is executed.
Please link the correct executable das-element-cli in the file daselement_api/manager.py

from daselement_api import api as de libraries = de.get_libraries() for library, library_config_data in libraries.items(): print(library) print(library_config_data)

The library information is taken from the config file that is set for the current workstation.
Either defined in the ~/.das-element/setup.ini file or by the environment variable DASELEMENT_CONFIG_PATH