Skip to main content

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"

Metadata

Release files for easy-icm-runner 2.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for easy-icm-runner 2.3.0
File Size Uploaded
easy-icm-runner-2.3.0.tar.gz 5.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for easy-icm-runner 2.3.0
File Interpreter ABI Platform
easy_icm_runner-2.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 10.8 kB

Release files / easy-icm-runner-2.3.0.tar.gz

Download URL easy-icm-runner-2.3.0.tar.gz
Size 5.2 kB
Tags Source
SHA-256 checksum
How to use checksums
afac29ad3fa07382934c40ea3d9e2b07b86ec61b837220b5d072d9ce74453c3d
BLAKE2b-256 checksum
How to use checksums
4718ded7432f06e50ab4579b013b395e503e03797df733b0a47a5d0631652c84
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.3 CPython/3.9.6

Release files / easy_icm_runner-2.3.0-py3-none-any.whl

Download URL easy_icm_runner-2.3.0-py3-none-any.whl
Size 5.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
02cd3b3be9a7b77302630e8206d451b1ce3617dc08c95d36e197756706a8a63f
BLAKE2b-256 checksum
How to use checksums
7a3134e8d930285c46279d703c893d48aed9d6fce5be9ad6c8f30a9b9a330f24
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.3 CPython/3.9.6

Release history Release notifications | RSS feed

This release

2.3.0 This release

2 release files

2.2.0

2 release files

2.1.2

2 release files

2.1.1

2 release files

2.1.0

2 release files

2.0.0

2 release files

1.3.2

2 release files

1.3.1

1 release file

1.3.0

2 release files

1.2.3

2 release files

1.2.1

2 release files

1.2.0

1 release file

1.1.0

1 release file

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page