Skip to main content

Python library for Intel HEX files manipulations

Project description

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:

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

Documentation

On PyPI: http://pythonhosted.org/IntelHex

On readthedocs:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

intelhex-2.0.tar.gz (69.4 kB view details)

Uploaded Source

Built Distribution

intelhex-2.0-py2.py3-none-any.whl (42.4 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file intelhex-2.0.tar.gz.

File metadata

  • Download URL: intelhex-2.0.tar.gz
  • Upload date:
  • Size: 69.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for intelhex-2.0.tar.gz
Algorithm Hash digest
SHA256 11eeb14534a84218b59094c2b76fbde448cac08613be0925efbcf1432ea0bbec
MD5 484c91b23d703bbdb043d7e19dfff799
BLAKE2b-256 943e9960520f83970a7a86bc1d0232942cf207d277eff1f2cee035d0699b7c47

See more details on using hashes here.

File details

Details for the file intelhex-2.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for intelhex-2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 17122e8dfda16bf0404936c8894daba541936431f27f9327aade9bfc3e19d8fc
MD5 9e80d4187e8e88bf058f936912bc3a0a
BLAKE2b-256 948895b9679ec3a8926e5f040ce05b93cf7fbc86a328526e5d3d0079336dc4c3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page