Rally - Python Toolkit: Start Building Python applications for Rally
search cancel

Rally - Python Toolkit: Start Building Python applications for Rally


Article ID: 110878


Updated On:


CA Agile Central On Premise (Rally) CA Agile Central SaaS (Rally)


How can we start building Python applications or Python scripts for Agile Central?


Component: ACSAAS


  • 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!