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.1.tar.gz (72.4 kB view details)

Uploaded Source

Built Distribution

intelhex-2.1-py2.py3-none-any.whl (46.6 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

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

File hashes

Hashes for intelhex-2.1.tar.gz
Algorithm Hash digest
SHA256 7c1e136efe97672dcf90feed18fc291977d4f5eccf13d124583bec376c0db44c
MD5 d035c4d747db128304535515c0f4dbb6
BLAKE2b-256 3d0cafd9df6e2c912571d25536da6139e458832192aedfc7041bda3abea3a70e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for intelhex-2.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 472f156560dbb22a8216e1902076fdbac4b5ff7814bc7996401eb0e597b90bec
MD5 93913ba8e0d5eb848d03a98e73d86d14
BLAKE2b-256 f6663a1401e5fd4e63a80ba9ade5177130fd791d15a9e5503456e75476a5c7fa

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