This is an attempt at creating a 2D side-scrolling platform game using cocos2d, pyglet, and pymunk. If you examine the source you'll find some potentially useful modules for loading Tiled format maps, a component-based game actor system, and a simple level geometry editor that serializes to XML.
python main.py
pyglet, cocos2d, pymunk
GNU GPL Version 3