Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

easy-icm-runner

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

easy-icm-runner

A wrapper for IBM ICMs Scheduler API Calls'

  • 2.3.0
  • PyPI
  • Socket score

Maintainers
1

easy-icm-runner :rocket:

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

Installation:

pip install easy-icm-runner

Usage:

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

Python

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.

from icm_runner import Runner

job_runner = Runner()

# get an authentication token to use in remaining operations
job_runner.get_token(username='icm username', password='icm password')
# start job
activity_id = job_runner.run_process_by_name(model_name='model name', process_name='process name', follow=True)
# poll for status until complete
job_runner.monitor_activity(model_name='model name', activity_id=activity_id, interval_mins=0.1)

Command Line

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 icm_runner -u "icm username" -p "icm password" -m "model name" -j "process name"

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc