TPy is a Python wrapper for the TargetProcess API.
It is designed to make interfacing with the REST API easier.
Please note: TPy is currently under active development. Features outlined in this README are incomplete, and instead represent the final vision for the wrapper. This library is not ready for use.
import tpy
# Authenticate with an API key...
tp = tpy.TargetProcess('http://demo.tpondemand.com/',api_key=BLAH)
# or Basic auth...
tp = tpy.TargetProcess('http://demo.tpondemand.com/',username=admin,password=supersecret)
# loop through our stories
for story in tp.UserStories.all:
print story.IdYou can install via pip
pip install tpy
Or via easy-install
easy_install tpy
Or via setup.py
python setup.py install
View the documentation at http://tpy.readthedocs.org
All of the code contained here is licensed by the GNU GPLv3.
