Here the underlying code will be in C++, with SLHA writing and reading performed via python using PySLHA (See https://pypi.org/project/pyslha/ & http://insectnation.org/projects/pyslha.html)
Create two scripts to handle the model creation, which consists of the steps:
...