I've just submitted a patch to expose the empty shape in the Python API https://projects.blender.org/tracker/index.php?func=detail&aid=17503&group_id=9&atid=127 It should be a simple review for someone :)