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 GitHub Actions 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: http://hachoir.readthedocs.io/en/latest/install.html

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.

Source Distribution

hachoir-3.2.0.tar.gz (6.1 MB view details)

Uploaded Source

Built Distribution

hachoir-3.2.0-py3-none-any.whl (648.0 kB view details)

Uploaded Python 3

File details

Details for the file hachoir-3.2.0.tar.gz.

File metadata

  • Download URL: hachoir-3.2.0.tar.gz
  • Upload date:
  • Size: 6.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.0

File hashes

Hashes for hachoir-3.2.0.tar.gz
Algorithm Hash digest
SHA256 38e3d84ecd1c75f2b22422acf5881a1d34ad4cffa7088f7e1a4c4690d12ce664
MD5 84060825739a9ade308dce20c90a0eb7
BLAKE2b-256 b2bd7529c99100fc4b688758194ef6ad23028461bb8a6376e6beba8b8ae93be0

See more details on using hashes here.

File details

Details for the file hachoir-3.2.0-py3-none-any.whl.

File metadata

  • Download URL: hachoir-3.2.0-py3-none-any.whl
  • Upload date:
  • Size: 648.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.0

File hashes

Hashes for hachoir-3.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6e6c03ed40fa741d0cd91ee7ec381d17ef3e7f62be3e8c7562d9acb3e70b04fe
MD5 b7902397364605207173ce92a36ae9a8
BLAKE2b-256 218a2e7e5065f53024530b8c4ec896b9d75b3f0b35c62623a09a12ad4ff271a8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page