AndroidViewClient is an extension to monkeyrunner a 100% pure python tool that simplifies test script creation providing higher level operations and the ability of obtaining the tree of Views present at any given moment on the device or emulator screen.
More detailed information can be found in the AndroidViewClient wiki