Skip to main content

HexBuilder

GitHub Release PyPI PyPI - License

Command line tool that converts a text file to its representing hex code.

HexBuilder is a command line tool that makes bytecode writing easier for the eye. It converts a commented text file:

// header
ABCD DCBA 0000 0000
0000 0000 0000 0000

/*
    This is a multi-line comment.
*/
1239 9129

// oh and caps don't matter
AbCd cAfe

to a binary file whose hex dump is:

ABCD DCBA 0000 0000
0000 0000 0000 0000
1239 9129 ABCD CAFE

So it basically strips all comments and whitespaces and converts a text file to a binary file.

Installation

Install with pip:

pip install hexbuilder

Usage

Enter in command line:

hexbuilder my_text_file

This will create a .hex file (same name as input) as output in the same directory.

Alternatively, the output file can be specified with -o:

hexbuilder my_text_file -o output.hex

Metadata

Release files for hexbuilder 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hexbuilder 1.0.3
File Size Uploaded Provenance
hexbuilder-1.0.3.tar.gz 2.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for hexbuilder 1.0.3
File Interpreter ABI Platform
hexbuilder-1.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 6.0 kB

Release files / hexbuilder-1.0.3.tar.gz

Download URL hexbuilder-1.0.3.tar.gz
Size 2.3 kB
Tags Source
SHA-256 checksum
How to use checksums
aa8486ef5bde412fb5a13bab57439f0c4d9c108c85c45f28f1f57d9087495e38
BLAKE2b-256 checksum
How to use checksums
f960c777c97de22844a202e5f85a99b62d5930f6647829215bd3f7c3d8fc6d89
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7

Release files / hexbuilder-1.0.3-py3-none-any.whl

Download URL hexbuilder-1.0.3-py3-none-any.whl
Size 3.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
93aa58c31be61acc071929891336d7b7fe9392c59de85f8e4a3f23a9d761abd9
BLAKE2b-256 checksum
How to use checksums
4d2e51425cbb670d8a387f890708ba4db6e8ed5d92e0177fbe0a71d1520e729e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7

Security for hexbuilder 1.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page