This release is a pre-release and may not be stable for production use.
hrep
grep for binary files.
Examples
TODO add some...
Usage
usage: hrep [-h] [-x HEX] [-a ASCII] [-e REGEX] [-r] [--chunk-size CHUNK_SIZE]
[-d] [-X] [-w DUMP_WIDTH] [-s] [-A AFTER] [-B BEFORE] [-C CONTEXT]
[-I INCLUDE] [-E EXCLUDE] [-L] [-l] [-c] [-m NUM] [-p]
[--no-color] [--monochrome]
[HEX] [filename [filename ...]]
Search for binary sequences in files
positional arguments:
HEX Hex encoded binary sequence to search for
filename List of files to search in
optional arguments:
-h, --help show this help message and exit
-x HEX, --hex HEX Search for a hexadecimal pattern('?' matches a single
nibble, '*' matches any number of bytes)
-a ASCII, --ascii ASCII
Search for an ASCII string
-e REGEX, --regex REGEX
Search for a regular expression
-r, --recursive Recursively search in directories
--chunk-size CHUNK_SIZE
Override default buffer size
-d, --decimal-offset Output decimal file offsets (by default prints hex)
-X, --no-hexdump Disable hex dump
-w DUMP_WIDTH, --dump-width DUMP_WIDTH
Width of hex dump
-s, --summary Print summary at the end
-A AFTER, --after AFTER
Number of additional bytes to display after match
-B BEFORE, --before BEFORE
Number of additional bytes to display before match
-C CONTEXT, --context CONTEXT
Number of additional bytes to display before and after
match
-I INCLUDE, --include INCLUDE
Filename pattern to include
-E EXCLUDE, --exclude EXCLUDE
Filename pattern to exclude
-L, --files-without-match
Only output unmatching filenames
-l, --files-with-match
Only output matching filenames
-c, --count Only output number of matches for each input file
-m NUM, --max-count NUM
Stop searching after NUM matches.
-p, --progress Enable progress display
--no-color Disable color output
--monochrome Use monochrome color scheme
Unless one of --files-with(out)-match, --count is specified, each output line
corresponds to a match in the format: `<filename>:<offset>:<match>'
Metadata
Release files for hrep 0.4.1a0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hrep-0.4.1a0-py3-none-any.whl | Python 3 | none | any | Details for hrep-0.4.1a0-py3-none-any.whl |
Release files / hrep-0.4.1a0-py3-none-any.whl
| Download URL | hrep-0.4.1a0-py3-none-any.whl |
|---|---|
| Size | 9.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4bc9126c2d0c37c8c4cb38114d40c33d806e6eeec8eaf98e145389ed6ef46aaf
|
|
BLAKE2b-256 checksum How to use checksums |
491b5b1d5c2677b4f10d219fcc2a0e81b58fc8c4d3ae263b97c5524614c27278
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.9.0 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.9
|
Security for hrep 0.4.1a0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.