PyHamilton

PyHamilton tool documentation. This tool enables execution of Python scripts either from a database or from local file paths.

Table of Contents

  1. Official Documentation
  2. Overview
  3. Configuration
  4. Commands
    1. RunScript
    2. RunLocalScript

Official Documentation

For detailed examples and getting started guide, please refer to the PyHamilton community documentation:

Getting Started with PyHamilton

Overview

Tool Information

Category: Python Script Runner
Package: com.science.foundry.tools.grpc_interfaces.pyhamilton

Configuration

Configuration Parameters

Parameter Type Description
python_exe string Path to Python executable (optional)

Commands

RunScript

Executes Python script content that exists in the database.

Parameters

Parameter Type Description
script_content string Python code to execute from database

RunLocalScript

Executes a Python script from a local file path on the computer.

Parameters

Parameter Type Description
path string Path to the local Python script file