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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: hachoir-3.1.1.tar.gz
  • Upload date:
  • Size: 6.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.5

File hashes

Hashes for hachoir-3.1.1.tar.gz
Algorithm Hash digest
SHA256 0aa71a39f8c32d3e65902285fefd155d96c2beaec2697a230b67709aaf73140c
MD5 880ee1744ccabb90b7e4863e95efa143
BLAKE2b-256 a927cec720492aba5f45161e0dd91213337a3e1f8c700f4e486f41b1d01d0552

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hachoir-3.1.1-py3-none-any.whl
  • Upload date:
  • Size: 640.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.5

File hashes

Hashes for hachoir-3.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 353a1efc84a971a0fe6f85e425f2d1d23ab5e702d2c8a0d12da62115a33cbb7d
MD5 0f8ff386e98e8dc4a17ce51f7fec8e92
BLAKE2b-256 2c9a955963032a72ade2e994716bd4bf9fc5ad9c2a458002e8f3184a85c198dc

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