Skip to content
Python IntelHex library
Python Makefile
Branch: master
Clone or download
Pull request Compare This branch is 25 commits behind python-intelhex:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Python IntelHex library

Author: Alexander Belchenko
Contact: alexander belchenko at gmail com
Date: 2016/03/31
Version: 2.1

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 ```` script 
converts binary data to HEX, and the ```` works the other direction. 
```` converts data from HEX to a hexdump which is useful for
inspecting data, and ```` merges multiple HEX files into one.

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-3.5 or later)
without external libraries or 2to3 tool from the same codebase.


Install using pip (no separate download required):

    pip install intelhex

Install from sources (classic python's magic spell):

    python install

Source code
Intelhex project on Launchpad:
Get code with bzr:
    bzr branch lp:intelhex

IntelHex on GitHub:
Get code with git:

    git clone

User manual
User manual for IntelHex is available in the sources docs/manual/ directory.
You can browse User Manual online:

API documentation
You can use epydoc for creating API documentation for IntelHex class. Run:

    $ python intelhex

epydoc tool:
You can’t perform that action at this time.