Back to Projects

Execute Python Script FaaS

Implementing executing generic python scripts within a sandbox environment

automation SAP August 2023
Execute Python Script FaaS

Overview

Implemented a secure Python script execution capability, enabling users to run custom Python scripts as part of automation workflows within a sandboxed environment.

Key Features

  • Custom Scripts: Execute arbitrary Python code
  • Dependency Management: Install pip packages dynamically
  • Input/Output: Pass data between workflow steps
  • Security: Sandboxed execution environment
  • Timeout Control: Prevent runaway scripts
  • Logging: Capture script output and errors

Technical Approach

  • Docker-based isolation for security
  • Python virtual environments for dependency management
  • Resource limits (CPU, memory, execution time)
  • Secure input parameter handling
  • Support for Python 3.8+

Tech Stack

Java Python Docker Kubernetes

Tags

Python Automation FaaS

More Projects