Python bindings for hexy-core.
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hexy_py-0.2.0.tar.gz.
File metadata
- Download URL: hexy_py-0.2.0.tar.gz
- Upload date:
- Size: 69.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
31c8970ae729d9dfaaa0f551cda13bd2ed082b601bbb02a437bb18498a7a4444
|
|
| MD5 |
1336d903dd185bb56230145f99abd1ae
|
|
| BLAKE2b-256 |
249f81d1c099ac324ec50f613d2ce823c1ce1b229425e33402420438822aba6f
|
Provenance
The following attestation bundles were made for hexy_py-0.2.0.tar.gz:
Publisher:
release.yml on tomrford/hexy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hexy_py-0.2.0.tar.gz -
Subject digest:
31c8970ae729d9dfaaa0f551cda13bd2ed082b601bbb02a437bb18498a7a4444 - Sigstore transparency entry: 1553996848
- Sigstore integration time:
-
Permalink:
tomrford/hexy@477ee983178eaf8e344a8270349ebbee6fbac10b -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/tomrford
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@477ee983178eaf8e344a8270349ebbee6fbac10b -
Trigger Event:
push
-
Statement type:
File details
Details for the file hexy_py-0.2.0-cp310-abi3-win_amd64.whl.
File metadata
- Download URL: hexy_py-0.2.0-cp310-abi3-win_amd64.whl
- Upload date:
- Size: 244.2 kB
- Tags: CPython 3.10+, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
afd0df89ae85c5ca8a94c81353a2f2728d7594a8ade48ed2cc2aecef488c1a1a
|
|
| MD5 |
3b9a006ff08e2568acfd1ce904893626
|
|
| BLAKE2b-256 |
2ed33ed0eed0347c34acae69540051f9e6e670a1445f705b60cf667b9c5f15e7
|
Provenance
The following attestation bundles were made for hexy_py-0.2.0-cp310-abi3-win_amd64.whl:
Publisher:
release.yml on tomrford/hexy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hexy_py-0.2.0-cp310-abi3-win_amd64.whl -
Subject digest:
afd0df89ae85c5ca8a94c81353a2f2728d7594a8ade48ed2cc2aecef488c1a1a - Sigstore transparency entry: 1553996871
- Sigstore integration time:
-
Permalink:
tomrford/hexy@477ee983178eaf8e344a8270349ebbee6fbac10b -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/tomrford
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@477ee983178eaf8e344a8270349ebbee6fbac10b -
Trigger Event:
push
-
Statement type:
File details
Details for the file hexy_py-0.2.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: hexy_py-0.2.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 403.1 kB
- Tags: CPython 3.10+, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
880f675badd9323076aab3d587f1940ae04ab15bf445e758021bdffbb2a14443
|
|
| MD5 |
0e307afd3ebf0e9b4e665742a1b6c4ae
|
|
| BLAKE2b-256 |
998e98856c0245aa10b6ba3129c5ff7e58243d24af284c3437763f345006dbe8
|
Provenance
The following attestation bundles were made for hexy_py-0.2.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:
Publisher:
release.yml on tomrford/hexy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hexy_py-0.2.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl -
Subject digest:
880f675badd9323076aab3d587f1940ae04ab15bf445e758021bdffbb2a14443 - Sigstore transparency entry: 1553996862
- Sigstore integration time:
-
Permalink:
tomrford/hexy@477ee983178eaf8e344a8270349ebbee6fbac10b -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/tomrford
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@477ee983178eaf8e344a8270349ebbee6fbac10b -
Trigger Event:
push
-
Statement type:
File details
Details for the file hexy_py-0.2.0-cp310-abi3-macosx_11_0_arm64.whl.
File metadata
- Download URL: hexy_py-0.2.0-cp310-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 350.9 kB
- Tags: CPython 3.10+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
049cd1e620201f6751b888466433393e97004dfd8237b9f037f1be0e954aed27
|
|
| MD5 |
02c453cac4db6286b62f0ad2c0887ed9
|
|
| BLAKE2b-256 |
37c0691e1d1512f2b0b311e99934a6deddbd5845dd12936467c6779f4fbbec86
|
Provenance
The following attestation bundles were made for hexy_py-0.2.0-cp310-abi3-macosx_11_0_arm64.whl:
Publisher:
release.yml on tomrford/hexy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hexy_py-0.2.0-cp310-abi3-macosx_11_0_arm64.whl -
Subject digest:
049cd1e620201f6751b888466433393e97004dfd8237b9f037f1be0e954aed27 - Sigstore transparency entry: 1553996867
- Sigstore integration time:
-
Permalink:
tomrford/hexy@477ee983178eaf8e344a8270349ebbee6fbac10b -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/tomrford
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@477ee983178eaf8e344a8270349ebbee6fbac10b -
Trigger Event:
push
-
Statement type:
File details
Details for the file hexy_py-0.2.0-cp310-abi3-macosx_10_12_x86_64.whl.
File metadata
- Download URL: hexy_py-0.2.0-cp310-abi3-macosx_10_12_x86_64.whl
- Upload date:
- Size: 357.6 kB
- Tags: CPython 3.10+, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8a47b8423a8b1843f72c10f9f9fb34e76a59a86fad30d28b46326ddeba9a60a4
|
|
| MD5 |
e2d2d791e0e57bba77b69715e2bc2ece
|
|
| BLAKE2b-256 |
d6cfe2010386ef23af7477da62b859ccacf0042c623332b3c7894c24d3a79955
|
Provenance
The following attestation bundles were made for hexy_py-0.2.0-cp310-abi3-macosx_10_12_x86_64.whl:
Publisher:
release.yml on tomrford/hexy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hexy_py-0.2.0-cp310-abi3-macosx_10_12_x86_64.whl -
Subject digest:
8a47b8423a8b1843f72c10f9f9fb34e76a59a86fad30d28b46326ddeba9a60a4 - Sigstore transparency entry: 1553996877
- Sigstore integration time:
-
Permalink:
tomrford/hexy@477ee983178eaf8e344a8270349ebbee6fbac10b -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/tomrford
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@477ee983178eaf8e344a8270349ebbee6fbac10b -
Trigger Event:
push
-
Statement type: