Welcome to the Python Modeling Library (PyML) for systems modeling, analysis, documentation and code generation. It includes the SysML and UML modeling languages with additional capabilities enabling advanced analysis with Python libraries and language features. PyML is built with Graphviz, Matplotlib, NetworkX, NumPy and SciPy using Python as glue code with all systems modeling. It’s fun to be powerful with Python.

New Online Capability and Simulation

The upcoming PyML v.20 can run online in a browser. Try it at the SysML Diagram Scratchpad. We have also added causal loop modeling (causal diagrams) and system dynamics modeling and simulation capabilities.

Inputs and Outputs

The diagram below shows the primary inputs and outputs of PyML. This diagram was generated with PyML utilities.


Current Features

This early release of PyML contains library functions for the following:


The following was presented at the

2022 INCOSE San Diego Mini-Conference.


PyML research and development is supported by these sponsors:

  • Naval Postgraduate School Foundation

  • Marine Corps Air Station (MCAS) Miramar


We value your feedback. Tell us how we can make PyML, its documentation and this website more useful. Please send comments, suggestions and interest in supporting the development to