It is possible to add custom models scripted in Python to StarDrop using the StarDrop model server.

From the StarDrop Scripting and Customisation Guide, Section 3.1 describes how you can add your custom models.

You can access the guides within StartDrop or download them from our documentation page. Please note that you’ll need credentials to access them from our website

This approach would require creating a wrapper to extend StarDrop’s model server. The API for this functionality and an example code is provided in Section 3.1.2. Some examples of Python models are in the /usr/local/StarDrop64/modelserver/examples/models directory on the model server.

More StarDrop resources