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.
Hachoir website (source code, bugs)
License: GNU GPL v2
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)
| File | Size | Uploaded | |
|---|---|---|---|
| hachoir-3.4.0.tar.gz | 7.5 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|