Autoprotocol Python Language Library
To make writing Autoprotocol easier, there is a Python language library that allows you to build protocols using Python.
Setup
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
you may need to use sudo
before the install command depending on your system
Another way to install the Python library is using pip install autoprotocol
. This assumes that you have Python and therefore pip installed.
Updated almost 4 years ago