cocos2d is a framework for building 2d games, demos, and other graphical/interactive applications. It is built over pyglet. It provides some conventions and classes to help you structure a "scene based application".
These details are provided for information only. No information here is legal advice and should not be used as such.