To install appdash for python you'll first need to install Google's protobuf, the Twisted networking library, and a RFC3339 support library through the standard easy_install and pip python package manager commands:
# (Ubuntu/Linux) Install easy_install and pip:
sudo apt-get install python-setuptools python-pip
# Install Google's protobuf:
easy_install protobuf
# Install Twisted networking:
easy_install twisted
# Install strict-rfc3339
pip install strict-rfc3339
Depending on where Python is installed and/or what permissions the directory has, you may need to run the above easy_install and pip commands as root.
If all is well with your setup, you should be able to change directory to here and run the example:
# Run appdash server in separate terminal:
appdash serve
# Run the example script:
cd $GOPATH/src/sourcegraph.com/sourcegraph/appdash/python
./example.py
TODO(slimsag): integrate nicely with common Python HTTP frameworks. TODO(slimsag): provide way to easily install python' appdash module.