| 1 |
Source: hachoir |
| 2 |
Section: python |
| 3 |
Maintainer: Debian Python Team <[email protected]> |
| 4 |
Uploaders: Andrej Shadura <[email protected]> |
| 5 |
Build-Depends: |
| 6 |
debhelper-compat (= 13), |
| 7 |
dh-sequence-python3, |
| 8 |
python3-setuptools, |
| 9 |
Build-Depends-Indep: |
| 10 |
python3-all, |
| 11 |
python3-urwid, |
| 12 |
python3-wxgtk4.0, |
| 13 |
Standards-Version: 4.7.4 |
| 14 |
Homepage: https://github.com/vstinner/hachoir |
| 15 |
Vcs-Git: https://salsa.debian.org/python-team/packages/hachoir.git |
| 16 |
Vcs-Browser: https://salsa.debian.org/python-team/packages/hachoir |
| 17 |
|
| 18 |
Package: hachoir |
| 19 |
Architecture: all |
| 20 |
Depends: |
| 21 |
${python3:Depends}, |
| 22 |
${misc:Depends}, |
| 23 |
python3-urwid, |
| 24 |
python3-wxgtk4.0 |
| 25 |
Provides: python3-hachoir |
| 26 |
Breaks: |
| 27 |
python-hachoir-core, |
| 28 |
python-hachoir-metadata, |
| 29 |
python-hachoir-parser, |
| 30 |
python-hachoir-regex, |
| 31 |
python-hachoir-subfile, |
| 32 |
python-hachoir-urwid, |
| 33 |
python-hachoir-wx |
| 34 |
Replaces: |
| 35 |
python-hachoir-core, |
| 36 |
python-hachoir-metadata, |
| 37 |
python-hachoir-parser, |
| 38 |
python-hachoir-regex, |
| 39 |
python-hachoir-subfile, |
| 40 |
python-hachoir-urwid, |
| 41 |
python-hachoir-wx |
| 42 |
Description: Python framework to parse and edit binary files |
| 43 |
Hachoir is a Python library used to represent of a binary file as a tree of |
| 44 |
Python objects. Each object has a type, a value, an address, etc. The goal is |
| 45 |
to be able to know the meaning of each bit in a file. |
| 46 |
. |
| 47 |
Why using slow Python code instead of fast hardcoded C code? Hachoir has many |
| 48 |
interesting features: |
| 49 |
* Autofix: Hachoir is able to open invalid / truncated files |
| 50 |
* Lazy: Open a file is very fast since no information is read from file, |
| 51 |
data are read and/or computed when the user ask for it |
| 52 |
* Types: Hachoir has many predefined field types (integer, bit, string, etc.) |
| 53 |
and supports string with charset (ISO-8859-1, UTF-8, UTF-16, ...) |
| 54 |
* Addresses and sizes are stored in bit, so flags are stored as classic fields |
| 55 |
* Endian: You have to set endian once, and then number are converted in the |
| 56 |
right endian |
| 57 |
* Editor: Using Hachoir representation of data, you can edit, insert, remove |
| 58 |
data and then save in a new file. |
| 59 |
. |
| 60 |
Hachoir provides command-line tools using its parsers: |
| 61 |
* hachoir-grep: find a text pattern in a binary file |
| 62 |
* hachoir-metadata: get metadata from binary files |
| 63 |
* hachoir-strip: modify a file to remove metadata |
| 64 |
* hachoir-urwid: display the content of a binary file in text mode |
| 65 |
* hachoir-wx: display the content of a binary file in a GUI |