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.6.tar.gz
(3.5 kB
view details)
Built Distribution
hexp-0.0.6-py3-none-any.whl
(3.2 kB
view details)
File details
Details for the file hexp-0.0.6.tar.gz
.
File metadata
- Download URL: hexp-0.0.6.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 77cb0b280a1e9089f7f1486afda702b7e02f2b13b146009e0ea70bf161dbb97b |
|
MD5 | d4d4ae721fc31d15dbb863b6a18d17be |
|
BLAKE2b-256 | c7a37d0d417335c7b58c66eeb6eb25b1c9a7f74f88e023aa1782f466fe1dc5cc |
File details
Details for the file hexp-0.0.6-py3-none-any.whl
.
File metadata
- Download URL: hexp-0.0.6-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 | 1d240c3041e568cadd13fc55f8a52b0bb3bea93ced1e07c9d3db7828533168a1 |
|
MD5 | 4f59ed1d5af0a26560ed1aa29b03de1e |
|
BLAKE2b-256 | 85928a90e31f443e61f5f5dc124556c589db4be53001e65c2fe292e609d6463e |