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.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| FreeBSD | devel/py-hachoir | 3.4.0 newest | none known | - | [email protected] | 2026-09-15 |
| OpenBSD | devel/py-hachoir | 3.3.0 | no data | - | Bjorn Ketelaars <[email protected]> | 2026-08-11 |
| HardenedBSD | devel/py-hachoir | 3.4.0 newest | no data | - | [email protected] | - |
| GhostBSD | devel/py-hachoir | 3.4.0 newest | no data | - | [email protected] | - |
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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 3.4.0 | 3.4.0 | - | - | 3.4.0 |
| FreeBSD:14:quarterly | 3.4.0 | 3.4.0 | n/a | - | 3.4.0 |
| FreeBSD:15:latest | 3.4.0 | 3.4.0 | n/a | - | - |
| FreeBSD:15:quarterly | 3.4.0 | 3.4.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 3.4.0 | 3.4.0 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
${PYTHON_PKGNAMEPREFIX}wheel>0: devel/py-wheel
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
| File | Size | SHA256 |
|---|---|---|
| hachoir-3.4.0.tar.gz | 7.536245e+06 | 7f88018d58ef42b5dcd8ff51f2a6191abf3ade38eee8da11acd93f5a7d9cf8f8 |
Master sites 1
- PYPI