Skip to main content

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


Download files

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

Source Distribution

hexy_py-0.2.0.tar.gz (69.4 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

hexy_py-0.2.0-cp310-abi3-win_amd64.whl (244.2 kB view details)

Uploaded CPython 3.10+Windows x86-64

hexy_py-0.2.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (403.1 kB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ x86-64

hexy_py-0.2.0-cp310-abi3-macosx_11_0_arm64.whl (350.9 kB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

hexy_py-0.2.0-cp310-abi3-macosx_10_12_x86_64.whl (357.6 kB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

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

Hashes for hexy_py-0.2.0.tar.gz
Algorithm Hash digest
SHA256 31c8970ae729d9dfaaa0f551cda13bd2ed082b601bbb02a437bb18498a7a4444
MD5 1336d903dd185bb56230145f99abd1ae
BLAKE2b-256 249f81d1c099ac324ec50f613d2ce823c1ce1b229425e33402420438822aba6f

See more details on using hashes here.

Provenance

The following attestation bundles were made for hexy_py-0.2.0.tar.gz:

Publisher: release.yml on tomrford/hexy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for hexy_py-0.2.0-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 afd0df89ae85c5ca8a94c81353a2f2728d7594a8ade48ed2cc2aecef488c1a1a
MD5 3b9a006ff08e2568acfd1ce904893626
BLAKE2b-256 2ed33ed0eed0347c34acae69540051f9e6e670a1445f705b60cf667b9c5f15e7

See more details on using hashes here.

Provenance

The following attestation bundles were made for hexy_py-0.2.0-cp310-abi3-win_amd64.whl:

Publisher: release.yml on tomrford/hexy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hexy_py-0.2.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for hexy_py-0.2.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 880f675badd9323076aab3d587f1940ae04ab15bf445e758021bdffbb2a14443
MD5 0e307afd3ebf0e9b4e665742a1b6c4ae
BLAKE2b-256 998e98856c0245aa10b6ba3129c5ff7e58243d24af284c3437763f345006dbe8

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hexy_py-0.2.0-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for hexy_py-0.2.0-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 049cd1e620201f6751b888466433393e97004dfd8237b9f037f1be0e954aed27
MD5 02c453cac4db6286b62f0ad2c0887ed9
BLAKE2b-256 37c0691e1d1512f2b0b311e99934a6deddbd5845dd12936467c6779f4fbbec86

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hexy_py-0.2.0-cp310-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for hexy_py-0.2.0-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 8a47b8423a8b1843f72c10f9f9fb34e76a59a86fad30d28b46326ddeba9a60a4
MD5 e2d2d791e0e57bba77b69715e2bc2ece
BLAKE2b-256 d6cfe2010386ef23af7477da62b859ccacf0042c623332b3c7894c24d3a79955

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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