Skip to main content

hexy-py

Python bindings for the hexy-core Rust crate.

HexFile.from_file(path) reads a file and auto-detects Intel HEX, S-Record, or raw binary with the same content sniffing used by the compat CLI. Use HexFile.from_file_bytes(data) for the same auto-detection against in-memory file bytes. Explicit parsers such as HexFile.from_intel_hex(data) remain available when the format is known.

File writers mirror the in-memory serializers: write_intel_hex(path), write_srec(path), write_binary(path), and write_hex_ascii(path).

Pipeline is the reusable operation recipe API. It applies operations in hexy CLI compatibility order, not in the order methods are called. For ad-hoc custom ordering, call methods directly on HexFile.

Range-taking Python APIs use one range string for single-range operations and a list of range strings for operations that accept multiple ranges. Each string uses the same range syntax as the compat CLI.

Sparse files stay sparse for inspection and in-memory operations. Dense exports such as to_bytes() and to_binary(fill_gaps=...) allocate across the covered address span, so sparse inputs with far-apart segments can intentionally produce large byte strings.

Release files for hexy-py 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hexy-py 0.3.0
File Size Uploaded
hexy_py-0.3.0.tar.gz 74.6 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for hexy-py 0.3.0
File
hexy_py-0.3.0-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details
hexy_py-0.3.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.10 abi3 Linux glibc 2.17+ x86-64 Details
hexy_py-0.3.0-cp310-abi3-macosx_11_0_arm64.whl CPython 3.10 abi3 macOS 11.0+ ARM64 Details
hexy_py-0.3.0-cp310-abi3-macosx_10_12_x86_64.whl CPython 3.10 abi3 macOS 10.12+ x86-64 Details

Total release size: 1.5 MB

Release files / hexy_py-0.3.0.tar.gz

Download URL hexy_py-0.3.0.tar.gz
Size 74.6 kB
Tags Source
SHA-256 checksum
How to use checksums
53ad956c7a7b10312e7f20bd646cec525cff5b377c7be1ee63f13b06bc606f2b
BLAKE2b-256 checksum
How to use checksums
edc3ec1f4b97ac4bfd2c2cd431d756619909c825c47199003f5000f507177c10
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 14, 2026.

Transparency log

Release files / hexy_py-0.3.0-cp310-abi3-win_amd64.whl

Download URL hexy_py-0.3.0-cp310-abi3-win_amd64.whl
Size 249.3 kB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
d40df71c3a2d8e4dae2ca06a2f35034339cef883811f19ad9711a8ade7e2082d
BLAKE2b-256 checksum
How to use checksums
7f02bb2cf03e611111a17eb051ebcbfbd7cbd552147d62b6c969da2cdeef069e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 14, 2026.

Transparency log

Release files / hexy_py-0.3.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL hexy_py-0.3.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 408.9 kB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
7bc7cbbeb7f3e2742ea73b21652325dc91e6ba04c0a1d41176e9d77eaf5ffc27
BLAKE2b-256 checksum
How to use checksums
3fecd866635e4b23a98b0aa539cf699536fe2cc755dd293dbc1dc82eba33785b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 14, 2026.

Transparency log

Release files / hexy_py-0.3.0-cp310-abi3-macosx_11_0_arm64.whl

Download URL hexy_py-0.3.0-cp310-abi3-macosx_11_0_arm64.whl
Size 355.2 kB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
77f3c5dcb865b2592962844274e637518c1bda7b554b23458373d14941f5230e
BLAKE2b-256 checksum
How to use checksums
ccf9b40f96ace96833fbadc2e61d9636cb760549600f7d3538ec9ea16f09ca82
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 14, 2026.

Transparency log

Release files / hexy_py-0.3.0-cp310-abi3-macosx_10_12_x86_64.whl

Download URL hexy_py-0.3.0-cp310-abi3-macosx_10_12_x86_64.whl
Size 364.1 kB
Tags CPython 3.10 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
d0bd9117a612fb67625afe26c08e2cb11a99f2795b5ba11f8d364b5519d8bf3a
BLAKE2b-256 checksum
How to use checksums
7fbd3ae170da3b6d3be0f286a4bd29fad9852f069a4ad70cb02c50bf966b102b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 14, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.3.0 This release

5 release files

0.2.0

5 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page