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.4.tar.gz
(3.5 kB
view details)
Built Distribution
hexp-0.0.4-py3-none-any.whl
(3.2 kB
view details)
File details
Details for the file hexp-0.0.4.tar.gz
.
File metadata
- Download URL: hexp-0.0.4.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 | 8b0d0402ff06b24bb08e6a63488114ba08b60f0c3e39d426e5ca646c54f67040 |
|
MD5 | f57790923b0a6e5866308fed2d13e4dc |
|
BLAKE2b-256 | a4195e13958c7353fd962c6aabb23b5140de2705a6ad1c73f467a48738665e9c |
File details
Details for the file hexp-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: hexp-0.0.4-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 | 9bc16d884c98685aa5b2a4ab96f6a07713a692069807fa321b9b840bad48626f |
|
MD5 | 71a49082291ce975763e6614aa1c0996 |
|
BLAKE2b-256 | e60b183450528d80c17a78a05a7b0a2eb408ba2141ac12c6608c20c3f5b050c5 |