To make writing Autoprotocol easier, there is a Python language library that allows you to build protocols using Python.
Since the Autoprotocol Python library is updated frequently, it is recommended that you clone the repository from Github and pull changes every so often. Installing the autoprotocol-python library requires you make a Github account.
Once you have one, clone the autoprotocol-python repo into your desired directory:
git clone https://github.com/autoprotocol/autoprotocol-python.git
from there, navigate to the folder just created and run setup.py to install
$ cd autoprotocol-python $ python setup.py install