NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #2122 most downloaded on PyPI
Python library for Intel HEX files manipulations
Last release 6 years ago
no release in 18 months
Release timing varies
gaps range from 2 weeks to 2.7 years
Nearly every release is documented
notes for 6 of 6 stable releases
Nothing withdrawn
no release was ever pulled
12 years old
6 releases · first in 2015
Add IntelHex.find() method to find a given byte pattern. (Scott Armitage)
IntelHex.find() method to find a given byte pattern. (Scott Armitage)IntelHex.segments() method supports new optional parametermin_gap to allow consolidation of segments with small but existing gapsIntelHex.tofile() now supports the optional byte_countIntelHex.write_hex_file(). Only used if format = hex.* Fixes for PyPI.
One column per quarter.
Fixes for PyPI.
_What's new in IntelHex 2.2 release._
What's new in IntelHex 2.2 release.
Bugfixes
hexinfo.py: Python 3 compatibility for processing start address dict keys. (patch from GitHub user mentaal)API changes
IntelHex.write_hex_file method: added support for new parameter: eolstyle = native | CRLF. (Alexander Belchenko)IntelHex.write_hex_file() method gets new optional parameter byte_count to specify how many bytes should be written to each data record in output file. Default value is 16. (patch from GitHub user erki1993)New features
_What's new in IntelHex 2.1 release._
What's new in IntelHex 2.1 release.
Bugfixes
hex2bin.py and bin2hex.py scripts are trying to read/write binary data from stdin or to stdout. (GitHub issue https://github.com/bialix/intelhex/issues/4)New features
IntelHex.segments() method that returns a list of ordered tuple objects, representing contiguous occupied data addresses. (Andrew Fernandes)hexinfo.py to print summary about hex files contents (file name, start address, address ranges covered by the data) in YAML format. (Andrew Fernandes)IntelHex.dump() method gets new optional parameters: width, withpadding to control generation of output text. (patch from GitHub user durexyl)hex2dump.py gets new option --width to support corresponding parameter in IntelHex.dump() method.Misc
Major improvements in IntelHex 2.0
Major improvements in IntelHex 2.0
Bugfixes
Internals
The same codebase can be run on both Python 2 (2.4-2.7) and Python 3 (3.2+). No need to use 2to3.
compat.py: provide more helper functions and aliases to reduce changes required to convert python 2 compatible sources to python 3. The code becomes quite ugly, but such compatibility has its price.
Python 3 compatibility: tobinstr should return bytes not unicode string (Bug #1212698).
Python 2: better support for long int addresses (over 2GB) (Bug #1408934)
API changes: Functions tobinarray/tobinstr/tobinfile: pad parameter is deprecated and will be removed in future releases. Use IntelHex.padding attribu…
API changes: Functions tobinarray/tobinstr/tobinfile: pad parameter is deprecated and will be removed in future releases. Use IntelHex.padding attribute instead, and don't pass pad as None explicitly please. If you need to use size parameter, then use syntax like that: ih.tobinarray(start=xxx, size=yyy)
API changes: Functions tobinarray/tobinstr/tobinfile: default value of pad is None now (was 0xFF) to allow using value of IntelHex.padding if no explicit pad specified.
Fixed bug: wrong getopt error handling in some scripts. (Thanks to Andy Mozhevilov for bug report)
PEP-8 style improvements. (Thanks to Stefan Schmitt)
IntelHex16bit.tobinarray method returns array of unsigned short (words) values. (Feature request from Stefan Schmitt)
Improved Python 3 compatibility (don't use old file() function). (Thanks to Luis Panadero Guardeño for bug report)
Your coding agent can read these notes before it upgrades. Set up the MCP server →