Agile Central - Python Toolkit: Start Building Python applications for Agile Central

Document ID : KB000110878
Last Modified Date : 10/08/2018
Show Technical Document Details
Question:
How can we start building Python applications or Python scripts for Agile Central?
Answer:
  • Step 1: Install a Python Interpreter.
    • –AC Python’s Tool Kit supports: Python 2.6, 2.7, 3.5, or 3.6 (Best: use latest version of 3.6)
    • –Download from: https://www.python.org/
  • Step 2: Test interpreter from Python prompt. Create Hello World file.
  • Step 3: Download and install AC Python’s tool-kit with pre-requisites.
  • Step 4: Test few examples of the Toolkit against Python’s interpreter. Make certain you create your own my.cfg file.
    • –rallyfire.py is the most basic usage of the toolkit, only connects with Rally. Run that first.
  • Step 5: For full development and debugging options, use a full IDE:
    • –We are using PyCharm: https://www.jetbrains.com/pycharm/download/#section=windows
    • –Note: the IDE will install its own Python Interpreter. In order to use it, you will need to install the ‘pyral’ package (AC Python’s tool-kit) again for that interpreter, OR you can change your IDE to use the Python’s interpreter you used earlier where ‘pyral’ is already installed.
–Create Hello World test file.
–Run rallyfire.py from your IDE.
–Run few samples provided by Python’s toolkit.
  • Step 6: You’re all set to write your own code. Go for it!
Check out the video at Start building Python applications using Python Toolkit (44 min) for a detailed walk-through!
User-added image