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: 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.0a4.tar.gz (6.1 MB view details)

Uploaded Source

Built Distribution

hachoir-3.0a4-py3-none-any.whl (640.7 kB view details)

Uploaded Python 3

File details

Details for the file hachoir-3.0a4.tar.gz.

File metadata

  • Download URL: hachoir-3.0a4.tar.gz
  • Upload date:
  • Size: 6.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.2

File hashes

Hashes for hachoir-3.0a4.tar.gz
Algorithm Hash digest
SHA256 9f657a54a7bf3d5f2759b8aa809e70a14f9721c06409dfe41032a1cb674ffc0b
MD5 ec7ab19f6295172a45ca55a6d3644489
BLAKE2b-256 f80770affb84b2655b722d0f8affb34d05d3ea566dbc9e47d7153382093c2768

See more details on using hashes here.

File details

Details for the file hachoir-3.0a4-py3-none-any.whl.

File metadata

  • Download URL: hachoir-3.0a4-py3-none-any.whl
  • Upload date:
  • Size: 640.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.2

File hashes

Hashes for hachoir-3.0a4-py3-none-any.whl
Algorithm Hash digest
SHA256 f1002e81f3010d58d8ed231a0f45bbbaca310baba3e6a5f6b69ec89797e65b7d
MD5 9c769985725cd0f1fdd9525144ed03d5
BLAKE2b-256 50449fd5bdef04c5d6645e4e05e0240c12df07508aac8b792312e0b22f2909eb

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