Skip to main content
Help the Python Software Foundation raise $60,000 USD by December 31st!  Building the PSF Q4 Fundraiser

A wrapper for IBM ICMs Scheduler API Calls'

Project description


Simplified Job Execution for Varicent's ICM v10 using REST APIs


pip install easy-icm-runner


This project can be used as a module within your custom program, or standalone from the command line. Below we demonstrate sample usage:

Python Usage:

The snippet below demonstrates running a job syncronously in python code. Such a method will be desirable for incorporating an ICM job step into a more complex application, or such tasks as integrating your own secret and configuration management.

API Call to ICM v10 that runs a specified scheduler root/main process

from easy_icm_runner.icm_runner import Runner
from easy_icm_runner.icm_runner import exec_runner

USERNAME = 'username'
PASSWORD = 'password'
MODEL_NAME = 'model'
PROCESS_NAME = 'scheduler job name'
API_KEY = 'api_key/token'

# run using instance
JOB_RUNNER.run_process_by_name(model_name=MODEL_NAME, process_name=PROCESS_NAME)

# run using exec runners
# using api key
exec_runner(model_name=MODEL_NAME, process_name=PROCESS_NAME, api_key=API_KEY)
# using username and password
exec_runner(username=USERNAME, password=PASSWORD, model_name=MODEL_NAME,

Command Line Usage:

For those of you who are not budding pythonistas, or just looking for a simple solution to job scheduling we also allow a command line entrypoint.

$ python -m easy_icm_runner.icm_runner -u "icm username" -p "icm password" -m "model name" -j "process name"
$ python -m easy_icm_runner.icm_runner -m "model name" -j "process name" -a "api key"

Updates in this version
  • Project description was updated

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for easy-icm-runner, version 2.1.2
Filename, size File type Python version Upload date Hashes
Filename, size easy_icm_runner-2.1.2-py3-none-any.whl (5.6 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size easy-icm-runner-2.1.2.tar.gz (4.4 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page