■
Hachoir
Hachoir is a Python library that allows to view and edit a binary stream field by field. In other words, Hachoir allows you to "browse" any binary stream just like you browse directories and files.
http://hachoir.org/wiki
http://hachoir.org/wiki/hachoir-parser