Dump contents of input in hexadecimal.
Project description
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
hexp-0.0.3.tar.gz
(3.4 kB
view details)
Built Distribution
hexp-0.0.3-py3-none-any.whl
(3.2 kB
view details)
File details
Details for the file hexp-0.0.3.tar.gz
.
File metadata
- Download URL: hexp-0.0.3.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 845d6b1509e86ebab1f33e2d991ed31ac4447384b208843c22f3124ab55c8d60 |
|
MD5 | 003175f62ba393d6dca12dbbe558d078 |
|
BLAKE2b-256 | ee1e60c1d63aa2a83a6d264efd52b1183aa78745d389c65e8a3bc6c4af35a1fc |
File details
Details for the file hexp-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: hexp-0.0.3-py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02272a9a853b66a9cb4d748b92beab345d404ce2df6a312c9dd777da3a161671 |
|
MD5 | c3ce636c428e0d44dad7c7479c9da206 |
|
BLAKE2b-256 | 2560fa22aedabc3ac49be822362c819cf148afc8f3e53a0134072114f7c7d93a |