BSD Ports

devel/py-hachoir 3.4.0 FreeBSD

Python library to view and edit a binary stream field by field

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Port added
Last update
Commit
6f8f90af29
License
GPLv2
Categories
devel, python
Package size
1361.8 KiB, 8294.4 KiB installed

Description

Hachoir is a Python library to view and edit a binary stream field by field. It parses a file into a tree of fields, where each field carries its position, size and value, so a format can be explored without decoding it by hand.

It ships parsers for a wide range of archive, audio, video, image, filesystem and executable formats, and command line tools built on them: hachoir-metadata extracts metadata from media files, hachoir-grep searches text in a binary, hachoir-strip removes unnecessary data, and hachoir-urwid explores a file interactively.

In the other systems

The newest version among them is 3.4.0, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
FreeBSDdevel/py-hachoir3.4.0 newestnone known-[email protected]2026-09-15
OpenBSDdevel/py-hachoir3.3.0no data-Bjorn Ketelaars <[email protected]>2026-08-11
HardenedBSDdevel/py-hachoir3.4.0 newestno data-[email protected]-
GhostBSDdevel/py-hachoir3.4.0 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

pkg install py312-hachoir

From the ports tree:

cd /usr/ports/devel/py-hachoir/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-hachoir>0:devel/py-hachoir

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest3.4.03.4.0--3.4.0
FreeBSD:14:quarterly3.4.03.4.0n/a-3.4.0
FreeBSD:15:latest3.4.03.4.0n/a--
FreeBSD:15:quarterly3.4.03.4.0n/an/an/a
FreeBSD:16:latest3.4.03.4.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

The full lists below include those, and their dependencies in turn.

Build dependencies 16
Run dependencies 7
Required by 1

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
hachoir-3.4.0.tar.gz7.536245e+067f88018d58ef42b5dcd8ff51f2a6191abf3ade38eee8da11acd93f5a7d9cf8f8
Master sites 1
  • PYPI

Commit history 1

DateCommitCreditsLog message
6f8f90af29 Pete Diamond devel/py-hachoir: Add new port
Hachoir is a Python library to view and edit a binary stream field by field. It parses a file into a tree of fields, where each field carries its position, size and value, so a format can be explored without decoding it by hand. WWW: https://github.com/vstinner/hachoir PR: 297930 Approved by: osa, vvd (Mentors, implicit)