Creating Python Input Data Source

The Python connector lets you load data through Python. This can be useful for example when connecting to unusual data sources for which there is a client library in Python, or when you want to apply custom data transforms to the data in Python. 

A requirement for using the Python connector is that your Panopticon server has been configured to integrate with a running Python environment, as described in the Real Time Installation and Reference Guide.

The Python connector has settings that may be pre-configured by the Panopticon server administrator, and thereby not exposed to the users of the connector. If the settings are not pre-configured, you will see the following settings:

When using Pyro4 integration:

Setting Description

Host

The hostname or IP-number where Python is running.

Port

The port number where Pyro4 is listening.

HMAC Key

A secret password set in the integration configuration that must be matched.

Serialization Type

Can be either serpent or pickle.

 

When using FAST API integration (Linux servers only):

Setting Description

Host

The hostname or IP-number where Python is running.

Port

The port number where FAST API is listening.

 

You will also see the following setting:

Setting Description

Python Script (checkbox)

Whether Apache Arrow serialization should be applied to the data during transfer from Python to Panopticon. This will make the data transfer significantly faster.

 

NOTE: If your Panopticon server has not been configured for integration with a Python environment, you will not be able to use the Python connector, regardless of what settings you make in the connector.

 

 

(c) 2013-2024 Altair Engineering Inc. All Rights Reserved.

Intellectual Property Rights Notice | Technical Support