GitXplorerGitXplorer
v

hachoir

public
627 stars
70 forks
6 issues

Commits

List of commits on branch main.
Unverified
54a3167ebeb808a2b40fddf52032e0db250993b6

hachoir-list: implement --hide-value and --hide-size

ooliver committed 13 days ago
Unverified
b0214af7b2f7a513a5283c606694d3b0272a7e0f

hachoir-list: allow passing multiple file names

ooliver committed 12 days ago
Unverified
8c77348bb6841ad0f52df17e42f3e633cb342c51

hachoir-list: implement basic functionality

ooliver committed 13 days ago
Unverified
ad6be18e66e75abcb0fc8104fc8ef59a04867154

add initial outline of hachoir-list tool (non-functional yet)

ooliver committed 13 days ago
Unverified
b73c805ff08e7572ce01d6c072060e3efa781acc

git_pack: add some initial tests

ooliver committed 12 days ago
Unverified
776d0afec68c8875b2f207ec8af62dfbb5168ffe

git_pack: add Git pack test file

ooliver committed 12 days ago

README

The README file for this repository.

Hachoir


.. image:: https://img.shields.io/pypi/v/hachoir.svg :alt: Latest release on the Python Cheeseshop (PyPI) :target: https://pypi.python.org/pypi/hachoir

.. image:: https://github.com/vstinner/hachoir/actions/workflows/build.yml/badge.svg :alt: Build status of hachoir on GitHub Actions :target: https://github.com/vstinner/hachoir/actions

.. image:: http://unmaintained.tech/badge.svg :target: http://unmaintained.tech/ :alt: 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.

  • Hachoir website <http://hachoir.readthedocs.io/>_ (source code, bugs)
  • Hachoir on GitHub (Source code, bug tracker) <https://github.com/vstinner/hachoir>_
  • 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.6 or newer.