skip to navigation
skip to content

hachoir3 3.0a2

Package of Hachoir parsers used to open binary files

Hachoir is a Python library 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.

A file is splitted in a tree of fields, where the smallest field is just one bit. Examples of fields types: integers, strings, bits, padding types, floats, etc. Hachoir is the French word for a meat grinder (meat mincer), which is used by butchers to divide meat into long tubes; Hachoir is used by computer butchers to divide binary files into fields.

Command line tools using Hachoir parsers:

  • hachoir-grep: find a text pattern in a binary file
  • hachoir-metadata: get metadata from binary files
  • hachoir-strip: modify a file to remove metadata
  • hachoir-urwid: display the content of a binary file in text mode

Hachoir3 is written for Python 3.3+, it uses the new yield from syntax. For Python 2, see the Hachoir project on Bitbucket.

 
File Type Py Version Uploaded on Size
hachoir3-3.0a2-py3-none-any.whl (md5) Python Wheel py3 2017-02-24 612KB
hachoir3-3.0a2.tar.gz (md5) Source 2017-02-24 12MB