skip to navigation
skip to content

IntelHex 2.1

Python library for Intel HEX files manipulations

Package Documentation

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.

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:

https://launchpad.net/intelhex/

Get code with bzr:

bzr branch lp:intelhex

IntelHex on GitHub:

https://github.com/bialix/intelhex

Get code with git:

git clone https://github.com/bialix/intelhex.git
 
File Type Py Version Uploaded on Size
intelhex-2.1-py2.py3-none-any.whl (md5, pgp) Python Wheel any 2016-04-01 45KB
intelhex-2.1.tar.gz (md5, pgp) Source 2016-04-01 70KB