Prerequisites

<< Click to Display Table of Contents >>

Raynet One Data Hub > 25.4 > Connectors > Alphabetic Connector List > Python 

Prerequisites

The Python connector requires Python version 3.11, which is installed as part of the Data Hub Agent installation process (refer to the Data Hub installation guide for details). Python is licensed by default and requires no additional license.

 

For optimal workflow, develop and test Python scripts locally in a preferred IDE before integrating them into the product configuration.

 

warning1

WARNING

The Python script is executed with the permissions of the service user running the agent. Code can load external modules and call any functions from

accessible libraries. This presents security concerns, as task administrators can exploit this functionality to run remote commands on the agent server.

 

 

Python Runtime

Python Connectors require the following runtime components:

 

Python 3.11 (installed as part of the Data Hub Agent installation).

The requests library (bundled with the Data Hub Agent runtime).

 

In Docker-based Agent deployments, the Python runtime environment is container-managed and should not be modified manually.

 

 

Runtime Compatibility

DataHub Python Connectors rely on Python.NET for integration with the .NET runtime.

The Data Hub Agent uses Python 3.11 as the supported Python runtime for Python Connectors.

 

Refer to the official Python.NET documentation for supported Python versions.

 

 

Certificate Handling

For environments using internal or self-signed certificates, it is recommended to enable operating system trust store integration (see Certificate Handling for details).

By default, Python relies on its bundled CA certificate bundle (typically provided by the certifi package). This default trust configuration usually contains only public certificate authorities and does not include internal or corporate CAs. As a result, connections to services secured with internal or self-signed certificates may fail with certificate verification errors unless the operating system trust store is used or the required certificates are explicitly trusted.

 

Enabling OS trust store integration via the truststore Python package allows the connector to validate certificates trusted by the operating system. This requires the truststore Python package to be available in the Agent runtime environment.

 

When enabled, TLS validation follows the operating system's certificate and revocation policies (including CRL/OCSP checks).

 

 

Installation example (if pip is available in the runtime environment):

 

python3 -m pip install truststore

 

For Docker-based deployments, pip may not be available in the running container. If truststore is required, it must be included in the Data Hub Agent container image or integrated via an officially supported image customization process.