Enhanced Python Support

Elyra provides Enhanced Python Support where Python scripts can be developed and executed. It also leverages the Hybrid Runtime Support to enable running these scripts in remote environments.

Enhanced Python Support

The execution of the Python script leverages the available Python based Kernels. This enables users to run their scripts in different configurations and environments.

Elyra also allows submitting a Python script as a single node pipeline for execution in a Kubeflow Pipelines or Apache Airflow environment in the cloud. This feature is accessible when the Elyra AI Pipelines extension is also enabled.

Python script execution support

  • In the Jupyter Lab Launcher, click the Python File icon to create a new Python Script.
  • When used in conjunction with Jupyter Enterprise Gateway, the dropdown will be populated with more kernel options, allowing users to run their scripts with remote kernels with more specialized resources.
  • To run your script locally, select the python3 option in the dropdown menu, and click the Run icon.

Ability to run a Python script as a batch job

Elyra allows the execution of a Python script as a batch job in remote cloud environments. This feature leverages the AI pipelines feature and requires access to either a Kubeflow Pipelines or Apache Airflow deployment via a runtime configuration.

To submit a Python script as a batch job, open a Python script file and select Submit Script... button from the editor toolbar.

Submit Python Script as a batch job

To learn more about runtime configurations and runtime images, follow those sections provided in the Elyra user guide documentation.