Python SDK

The Airplane Python SDK is available via PyPI (airplanesdk). To install it, run:

bash
Copied
1
pip install airplanesdk

Output

This SDK can be used to produce output that will be rendered in the UI when someone runs your task. To learn more, see Output:

python
Copied
1
import airplane
2
3
airplane.append_output({"name": "Alabama", "capital": "Montgomery"})
4
airplane.append_output({"name": "Alaska", "capital": "Juneau"})
5
airplane.append_output({"name": "Arizona", "capital": "Phoenix"})