Skip to main content
# Description
Simple command line file hex viewer.

## Usage
```
Usage: hexy-script.py [options]

Options:
-h, --help show this help message and exit
-f FILENAME, --file=FILENAME
Filename to hexdump
-c COLUMNS, --columns=COLUMNS
Hex columns count
--version Prints package version and exits
```

## Example - dump of setup.py in hex with 16 columns
```
$ hexy -f setup.py -c 16
```

```
22 22 22 0D 0A 54 68 69 | 73 20 6D 6F 64 75 6C 65 | """ This module
20 64 65 66 69 6E 65 73 | 20 74 68 65 20 61 74 74 | defines the att
72 69 62 75 74 65 73 20 | 6F 66 20 74 68 65 0D 0A | ributes of the
50 79 50 49 20 70 61 63 | 6B 61 67 65 20 66 6F 72 | PyPI package for
20 74 68 65 20 6D 62 65 | 64 20 53 44 4B 20 74 65 | the mbed SDK te
73 74 20 73 75 69 74 65 | 0D 0A 22 22 22 0D 0A 0D | st suite """
0A 22 22 22 0D 0A 6D 62 | 65 64 20 53 44 4B 0D 0A | """ mbed SDK

...

20 20 7D 2C 0D 0A 20 20 | 20 20 20 20 69 6E 73 74 | }, inst
61 6C 6C 5F 72 65 71 75 | 69 72 65 73 3D 5B 22 63 | all_requires=["c
6F 6C 6F 72 61 6D 61 3E | 3D 30 2E 33 2C 3C 30 2E | olorama>=0.3,<0.
34 22 5D 29 0D 0A | | 4"])
```

Metadata

Release history Release notifications | RSS feed

This release

0.0.2 This release

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page