Indigo DQM Data Management System Indigo DQM
Data Command Python Indigo DQM Help

Indigo DQM Data Management Engine can run IronPython Scripts for additional Data Processing and / or to Query, Analyze and Transform Data Sources.

IronPython is an implementation of the Python programming language targeting the .NET Framework and Mono.

Enable the Execute Python Script option and select the Location of the Script.

The Python Script can be Embedded Text or a Python File. Select the Embedded option and open the Script with the Script Editor.

IronPython can use the .NET Framework and Python libraries, and other .NET languages can use Python code just as easily.

The Python Editor allows complex Python statements to be Validated and Executed against the Result Data Source.

Result Data is passed into Python as environment variables. Click the Properties button to see the environment variables.

Usually 'DataXML' as an XML Document and 'DataSet' as a Data Set in-memory cache of Data.

Advanced Properties

To Edit the Advanced Properties for the Python Script click the Advanced button and scroll to the Scripting Properties.

Python Data Options

In the Advanced settings the Python Data Option can be specified to Update, Merge or Ignore the Output Result Data from the Python Script. Additional custom Data Processing maybe implemented in the Python Script for Data Analyses and / or Data Mining. Also, the Python Script can be Executed After or Before the XQuery / XSLT by setting the Execute When property.

If Update is specified the Result Data will be completely Updated with the Result from the Python Script if it is a valid XML Document or Data Set. If Merge is selected the system will attempt to Merge with the Result Data. Ignore simply Ignores the Data Output from the Python Script.

Encrypted Scripts

Scripts can be Encrypted using AES 256 to protect any embedded Data or intellectual property. If the Script has been Encrypted check the option to ensure that the system can process the Encrypted resource.