Skip to main content
Help us improve Python packaging – donate today!

Package of Hachoir parsers used to open binary files

Project Description

Latest release on the Python Cheeseshop (PyPI) Build status of hachoir3 on Travis CI

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.

Release history Release notifications

This version
History Node


History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
hachoir3-3.0a2-py3-none-any.whl (626.9 kB) Copy SHA256 hash SHA256 Wheel py3 Feb 24, 2017
hachoir3-3.0a2.tar.gz (12.9 MB) Copy SHA256 hash SHA256 Source None Feb 24, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page