Package for parsing and displaying TLVs(Tag-Length-Values)
Project description
TLVisuals
Takes TLV in the form of UTF8 hex values, interprets the Tags, Lengths and Values, and outputs the interpretation in a more readable format.
2 Commands available:
- tlvparse
- hextoraw
tlvparse
usage: TLVisuals [-h] [-f FILE] [-o OUT] [-v] [--input-format INPUT_FORMAT] [--output-format OUTPUT_FORMAT]
Prints TLV in a readable format. Without options, app will read from standard input and assume the format is Hex in ASCII form, and output will be to standard output
options:
-h, --help show this help message and exit
-f FILE, --file FILE Parses input from specified FILE
-o OUT, --out OUT Writes output to specified OUT file
-v, --verbose Outputs more logs
--input-format INPUT_FORMAT
Specifies input format:
-der: input is raw hex
otherwise assumed to be ascii hex
--output-format OUTPUT_FORMAT
Specifies output format:
-interpretation: shows basic TLV flag interpretation
hextoraw
usage: tlvisuals hextoraw [-h] [-f FILE] [-o OUT]
Converts ASCII hex input to raw bytes, ignoring whitespaces
options:
-h, --help show this help message and exit
-f FILE, --file FILE Reads input from specified FILE
-o OUT, --out OUT Writes output to specified OUT file
Packaging
Delete files in dist/ python3 -m build twine upload dist/*
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tlvisuals-0.0.5.tar.gz.
File metadata
- Download URL: tlvisuals-0.0.5.tar.gz
- Upload date:
- Size: 9.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2e5874841436b41a41155723dd0ee4b35a1ca5175f25f9c514efd63ff7b3910d
|
|
| MD5 |
1f71d2e3fbadc1bf5e79bfc8b93451e6
|
|
| BLAKE2b-256 |
cd9bed713bdd8f171c81196f92bd8f0fee07f23c345b90dd11f86a38614422d3
|
File details
Details for the file tlvisuals-0.0.5-py3-none-any.whl.
File metadata
- Download URL: tlvisuals-0.0.5-py3-none-any.whl
- Upload date:
- Size: 8.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ad46da52dcee73fd3314547bee1ba4663965319f1aba018129b4803c00885bf5
|
|
| MD5 |
8ce7b99d694c1f033b691ef33eac6e5c
|
|
| BLAKE2b-256 |
296b192f6fef564c661eb1b656bdd501c6e1ce454738c378875bd6c878665758
|