Skip to main content

Package of Hachoir parsers used to open binary files

Project description

Latest release on the Python Cheeseshop (PyPI) Build status of hachoir on Travis CI No Maintenance Intended

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

Installation instructions:

Hachoir is written for Python 3.6 or newer.

Project details

Download files

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

Files for hachoir, version 3.1.2
Filename, size File type Python version Upload date Hashes
Filename, size hachoir-3.1.2-py3-none-any.whl (640.8 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size hachoir-3.1.2.tar.gz (6.1 MB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page