Python (on Server) Component Overview

Some Pipeline Creator templates include a Python (on Server) component that allows you to write and execute Python code to act on your data records.

This page discusses:

See Also
Python Reference

Use the Python (on Server) component to write and execute your own Python code in your pipelines. This section covers the architectural background and technical instructions for creating and testing pipelines that include Python.

Note: Some templates also include a Python Script component. For more information, see Python Script Component Overview.

Developing new functionality using the Python (on Server) component does not require an external IDE, but such an IDE can be useful for more complex functionality that does not directly involve Pipeline Creator’s Python API.

Benefits of using Python in components include:

  • Many scientific users lack formal training in computer science, but have some experience writing Python scripts.
  • Python has a clear syntax that is relatively easy to learn and read.
  • Python's large set of standard libraries can be useful in pipelines. Many specialized third-party libraries are also available.
  • You can develop and interactively debug Python components, without compilation, linkage, or installation steps.

This section provides information about how to use Python (on Server) and the Python API to design custom components. It includes the required architectural background and technical instructions for creating, testing, and deploying Python components. Before using this component, be familiar with Python and have a basic understanding of how to build a pipeline.

Python Version

The Python version is 3.9.16. Your Python code must be compatible with Python 3.x.

Installed Python Libraries

Pipeline Creator includes the following common data science libraries. Set the Use Python Essentials Libraries parameter to True to use them.

  • Matplotlib
  • NumPy
  • Pandas
  • Pytorch
  • Scikit-Learn
  • Scikit-Optimize
  • SciPy
  • torchcfm
  • torchvision
  • xgboost
Note: For version information, see What's New.

For additional information on how to use the component, refer to the Python (on Server) component help.