softlayer/softlayer-api-python-client — pull request #5 by sudorandom (2012-10-12 16:26:27+00:00)
Title: Adds Timeout Support/Raw Header Support/Tests/Tox Config/Typed-Exceptions

There are a series of changes in this:
* Added a timeout param to the __init__ method
* Added support for setting HTTP headers on outgoing XMLRPC requests.
* Created a SoftLayerError exception type.
* PEP-8 Formatting
* Added basic tests
* Added tox config for tests and a requirements file that includes tox. Tox runs against python version 2.4, 2.5, 2.6, 2.7, 3.2 and pypu. To run, have tox installed (`pip install tox` or `pip install -r requirements.txt`) and run `tox` in the base directory. It should create a new virtual environment for each python version that you have installed on your system and install/test using each of those virtual environments.

Adding timeout/header support for these versions of python was not straightforward. The interface of xmlrpclib.Transport changed between python 2.6 and 2.7.