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.5.tar.gz
(3.5 kB
view details)
Built Distribution
hexp-0.0.5-py3-none-any.whl
(3.6 kB
view details)
File details
Details for the file hexp-0.0.5.tar.gz
.
File metadata
- Download URL: hexp-0.0.5.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 | eab2039852c33ac5e4cdd1ff75c6b3d0dbcaab30bdc278850d9780dc3fc9a049 |
|
MD5 | f2b8e05dda9bd0261808d3d24b89ebd8 |
|
BLAKE2b-256 | 69e8b7e63cea416470ecc0c21e544a98d496ab21aa990a57b0a3ed8ac8abe0cd |
File details
Details for the file hexp-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: hexp-0.0.5-py3-none-any.whl
- Upload date:
- Size: 3.6 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 | 0056e4f1214225328335f2022f0fbbf8d24d069db3d63d8ff8920cb6127c0297 |
|
MD5 | 2a35a329633a9234de944086b76553cb |
|
BLAKE2b-256 | f401a7ccf99a27069710846024ed1e847e6dbc274ff18affe4524c98a96c7189 |