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.1.1.tar.gz
(3.4 kB
view details)
Built Distribution
hexp-0.1.1-py3-none-any.whl
(3.4 kB
view details)
File details
Details for the file hexp-0.1.1.tar.gz
.
File metadata
- Download URL: hexp-0.1.1.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 | d7aac39cf03b807d1ea60204c319eaba93c679302b0beb6011858c64ac056344 |
|
MD5 | 162be23fb9210ccc3ebb360fdb3447b0 |
|
BLAKE2b-256 | 3ceddbe6df4a2364f0898f2d1ba0ad9ac8cfd80cbdb2bd8145af749da908b70e |
File details
Details for the file hexp-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: hexp-0.1.1-py3-none-any.whl
- Upload date:
- Size: 3.4 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 | 9bd8e7a24b762b31ed9c4070bfba8db95ceb5311cb3e2bfb9d159bf8abd558cf |
|
MD5 | 8cdfff951282b65edf022d49d077bf21 |
|
BLAKE2b-256 | de5978c656b7f01845ce514f142af0fb27044f3eb95a3a380244a336a493bb48 |