Skip to main content
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.7 or newer.

Metadata

Release files for hachoir 3.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hachoir 3.4.0
File Size Uploaded
hachoir-3.4.0.tar.gz 7.5 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for hachoir 3.4.0
File Interpreter ABI Platform
hachoir-3.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.2 MB

Release files / hachoir-3.4.0.tar.gz

Download URL hachoir-3.4.0.tar.gz
Size 7.5 MB
Tags Source
SHA-256 checksum
How to use checksums
7f88018d58ef42b5dcd8ff51f2a6191abf3ade38eee8da11acd93f5a7d9cf8f8
BLAKE2b-256 checksum
How to use checksums
57a6ffacc0937524aeff27d20c981e5f321aedd284daf66aca7d52c707fa2d93
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.7

Release files / hachoir-3.4.0-py3-none-any.whl

Download URL hachoir-3.4.0-py3-none-any.whl
Size 655.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
042708fd1364ba6629d8516430a2c424b4b115e449e331dd431e5e4bd87d1001
BLAKE2b-256 checksum
How to use checksums
243ca1ea410b41cf69e1a2b42cb28fca44f53f567490ba398bb832315ce39d83
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.7
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page