Skip to content

Getting Started

First, make sure you understand the architecture and why we need to have Drone running before running a script using the Ostinato Python API.

The easy way to create a script is to use the Ostinato GUI to create and configure the streams and emulated devices as required, then save the port configuration as a Python Script - yes, you really can do that!

This is a good way to start and have something running quickly. You can open the generated .py file in an editor and look at the code. You can modify this generated script as per your needs.

For v1.3.0 or earlier versions, use Save streams as python. This does not save the device emulation and port settings.

Note, the export is only one way - you cannot open a saved python script using the GUI.

The other way to create a script is to write it from scratch. Read the Tutorial for a walk through of an example script and then consult the API Reference.

Back to top