Skip to main content
Ctrl+K

MHI Help v1.0.2

Table of Contents

MHI Packages:

  • Common Library
    • Coders / Decoders
    • Collection
    • Configuration
    • Path Expansion
    • Process Control
    • Remote Objects
    • Changes
  • Cosimulation Library
  • Enerplot Automation Library
  • PSCAD Automation Library
  • PSOUT Reader
  • Xml Updaters

Previous topic

MHI Packages

Next topic

Coders / Decoders

  • Common Library

Common Library#

The mhi.common library is a package of common functions, which facilitate the automation of various MHI applications from Python scripts.

This package is not intended to be used directly. It will be used internally by the application specific packages.

Contents:

  • Coders / Decoders
    • General
    • Arrows
    • Colours
  • Collection
    • Indexable Dictionary
    • Lingering Cache
  • Configuration
    • read()
    • fetch()
  • Path Expansion
    • expand_path()
    • expand_paths()
    • contract_path()
    • contract_paths()
    • shell_folder()
  • Process Control
    • process_pids()
    • is_running()
    • host_addresses()
    • is_local_host()
    • host_filter()
    • tcp_ports_in_use()
    • unused_tcp_port()
    • listener_ports_by_pid()
    • listener_ports_by_name()
    • versions()
    • find_exe()
    • launch()
    • report()
  • Remote Objects
    • Remotable
    • Decorators
    • Context
    • Exceptions
  • Changes
    • What’s new in 3.2
    • What’s new in 3.1
    • What’s new in 3.0
    • What’s new in 2.5
    • What’s new in 2.4
    • What’s new in 2.3
    • What’s new in 2.2
    • What’s new in 2.1
    • What’s new in 2.0

previous

MHI Packages

next

Coders / Decoders

© Copyright 2026, Manitoba Hydro International Ltd..

Created using Sphinx 8.2.3.

Built with the PyData Sphinx Theme 0.16.1.