Introduction
The Intel HEX file format is widely used in microprocessors and microcontrollers area as the de facto standard for code representation for microelectronic devices programming.
This work implements an intelhex Python library to read, write, create from scratch and manipulate data from HEX (also known as Intel HEX) file format. These operations are provided by IntelHex class.
The distribution package also includes several convenience Python scripts to do basic tasks that utilize this library. The bin2hex.py script converts binary data to HEX, and the hex2bin.py works the other direction. hex2dump.py converts data from HEX to a hexdump which is useful for inspecting data, and hexmerge.py merges multiple HEX files into one.
License
The code is distributed under BSD license. See LICENSE.txt in the sources archive.
In short: you can use IntelHex library in your project without any restrictions.
If you’re using IntelHex library in your open-source project, or your company created freely available set of tools, utilities or sdk based on IntelHex library, please send me an email and tell something about your project. I’d like to add the name of your project/company to page “Who Uses IntelHex”.
Python 3 compatibility
Intelhex library supports Python 2 (2.4-2.7) and Python 3 (3.2 and later) without external libraries or 2to3 tool from the same codebase.
Download
Install
Install using pip (no separate download required):
pip install intelhex
Install from sources (classic python’s magic spell):
python setup.py install
Source code
Intelhex project on Launchpad:
Get code with bzr:
bzr branch lp:intelhex
IntelHex on GitHub:
Get code with git:
git clone https://github.com/bialix/intelhex.git
Documentation
On PyPI: http://pythonhosted.org/IntelHex
Metadata
Release files for intelhex 2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| intelhex-2.0.tar.gz | 69.4 kB | Without provenance | Details for intelhex-2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| intelhex-2.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for intelhex-2.0-py2.py3-none-any.whl |
Total release size: 111.8 kB
Release files / intelhex-2.0.tar.gz
| Download URL | intelhex-2.0.tar.gz |
|---|---|
| Size | 69.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
11eeb14534a84218b59094c2b76fbde448cac08613be0925efbcf1432ea0bbec
|
|
BLAKE2b-256 checksum How to use checksums |
943e9960520f83970a7a86bc1d0232942cf207d277eff1f2cee035d0699b7c47
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / intelhex-2.0-py2.py3-none-any.whl
| Download URL | intelhex-2.0-py2.py3-none-any.whl |
|---|---|
| Size | 42.4 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
17122e8dfda16bf0404936c8894daba541936431f27f9327aade9bfc3e19d8fc
|
|
BLAKE2b-256 checksum How to use checksums |
948895b9679ec3a8926e5f040ce05b93cf7fbc86a328526e5d3d0079336dc4c3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for intelhex 2.0
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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.