ZigSnake is a framework for controlling ZigBee devices from Python scripts, with a particular emphasis on test scripts. For introductory slides from a talk at PhillyPUG on Nov 13, 2012, go here.
Please note that ZigSnake is in early phases of development and generally is improved and fixed as we test the ZigBee products we develop. There are some areas of the code that are in need of cleaning up and quite a few valid use cases that it doesn’t handle (such as endpoints other than 1). Please email email@example.com if you are interested in contributing to make this more production ready.