Python library for Intel HEX files manipulations
The Intel HEX file format widely used in microprocessors and microcontrollers area as the de-facto standard for representation of code for programming microelectronic devices.
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.
The code distributed under BSD license. See LICENSE.txt in 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 email and tell something about your project. I’d like to add name of your project/company to page “Who Uses IntelHex”.
Install using pip (no separate download required):
pip install intelhex
Install from sources (classic python’s magic spell):
python setup.py install
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
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.