Skip to content

MgPy

Python kernel for automation

An IPython-based Mg kernel unlocks Python for automation, analysis, debugging, and interactive model exploration.

MgPy — Python kernel for SysML v2 automation

Problem

What it solves

Model operations that need scripting, batch processing, or custom analysis require a flexible programmatic interface.

How it works

Using MgPy

1

Open Jupyter

Use the Mg IPython kernel inside JupyterLab with full Python 3 ecosystem access.

2

Automate and analyze

Script model edits, run queries, and build custom analysis pipelines.

3

Debug interactively

Explore models with debug and console support aligned with MgPy conventions.

Gallery

Examples