Skip to content

Latest commit

 

History

History
23 lines (13 loc) · 1.21 KB

File metadata and controls

23 lines (13 loc) · 1.21 KB

Use Custom Python Package

Table of Contents

Description

SAP Automation Pilot has the functionality to run scripts in an isolated Linux environment which provides a large array of useful tools and runtimes including Python. It's often necessary to install custom packages from the Python Package Index (PyPi) for functionalities that are not available in the standard Python library.

This examples show how to install a custom package such as requests and how to use it to send a simple HTTP request. The actual script can easily be modified to fit an actual productive scenario.

Please refer to the documentation for more details about the Execute Script functionality in Automation Pilot.

Requirements

There are no mandatory requirements.

How to use

Import the content of examples catalog in your Automation Pilot tenant. Navigate to the UseCustomPythonPackage command and check the configuration of the PythonScript executor. You can also trigger the command to see it in action