https://github.com/manorajesh/hexp
Hexdump utility built in Python
https://github.com/manorajesh/hexp
cli hexadecimal hexdump python
Last synced: 3 months ago
JSON representation
Hexdump utility built in Python
- Host: GitHub
- URL: https://github.com/manorajesh/hexp
- Owner: manorajesh
- License: mit
- Created: 2022-07-26T19:43:38.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-09-11T23:10:30.000Z (over 2 years ago)
- Last Synced: 2025-02-20T06:08:33.031Z (3 months ago)
- Topics: cli, hexadecimal, hexdump, python
- Language: Python
- Homepage:
- Size: 968 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# HexP
Dump contents of input in hexadecimal. Built with Python, Click, and CPython.## Installation
`pip install hexp`
or
```
$ git clone https://github.com/manorajesh/hexp.git
$ pip install -r requirements.txt
$ ./hexp
```## Usage
```
Usage: hexp [OPTIONS] [FILE]Print FILE, or if none given STDIN, in hexadecimal.
Options:
-c Display canonical Unicode inline (WIP)
-C Display canonical Unicode
-G Display hexadecimal as color (WIP)
--version Show the version and exit.
-h, --help Show this message and exit.
```
Run the command with a file as an argument, and it will dump the hexadecimal result to `stdout`. If no arguments are given, `stdin` is used (send `EOF` when done). Currently, only the `-C` works. It will print the `utf-8` translation in the right margin.
#### Contents of `requirements.txt`
`click == 8.1.3`