Darren Mulholland

Hex

A command line hexdump utility.


Hex is a simple hexdump utility implemented in Python.

Interface

$ hex --help

Usage: hex [FLAGS] [OPTIONS] [ARGUMENTS]

  Hexdump utility.

Arguments:
  [file]                File to dump. Defaults to stdin.

Options:
  -l, --line <int>      Bytes per line (default: 16).
  -n, --number <int>    Number of bytes to read.
  -o, --offset <int>    Byte offset at which to begin.
  -w, --width <int>     Line number width (default: 6).

Flags:
  -h, --help            Display this help text and exit.
  -v, --version         Display version number and exit.

Installation

Install Hex from the Python package index using pip:

$ pip install hex

Hex requires Python 3. You can find the source files on Github.

License

This work has been placed in the public domain.