Hachoir is a Python library used to represent abinary file as a tree of Python objects. Eachobject has a type, a value, an address, etc. Thegoal is to be able to know the meaning of each bitin a file. Hachoir is able to open invalid ortruncated files. It only reads or computes data ondemand to minimize load times. Many field typesare predefined (integer, bit, string, etc.) andstrings with a given character set (such asISO-8859-1 or UTF-8) are supported. Addresses andsizes are stored in bits.
License: GNU General Public License (GPL)
Changes:
Field.getFieldType() was created to describe afield type and give some useful information. TheTimestampUnix64 field type was created.GenericString now only guesses the character setonce. If the charset attribute if not set, a guessis made when it's requested by the user.
More...