Skip to main content

Native X3P (ISO 25178-72) reader/writer — Python binding to the Verity Rust core.

Project description

verity-x3p (Python)

Python binding to the Verity native X3P (ISO 25178-72) reader/writer. Backed by the verity-x3p Rust core, so files round-trip bit-identically with every other Verity language binding.

import verity_x3p

s = verity_x3p.read_x3p("scan.x3p")          # verifies the stored MD5
print(s.nx, s.ny, s.data.shape, s.data.dtype)  # 741 419 (419, 741) float64

# s.data and s.mask are NumPy arrays of shape (ny, nx).
verity_x3p.write_x3p(s, "copy.x3p", z_type="D")

Build from source

maturin develop            # build + install into the active venv
# or
maturin build --release    # produce a wheel under target/wheels/

Requires a Rust toolchain and NumPy. Built as an abi3 wheel (CPython 3.9+).

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

verity_x3p-0.2.0.tar.gz (38.7 kB view details)

Uploaded Source

Built Distributions

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

verity_x3p-0.2.0-cp39-abi3-win_amd64.whl (424.6 kB view details)

Uploaded CPython 3.9+Windows x86-64

verity_x3p-0.2.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (595.7 kB view details)

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

verity_x3p-0.2.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (584.9 kB view details)

Uploaded CPython 3.9+manylinux: glibc 2.17+ ARM64

verity_x3p-0.2.0-cp39-abi3-macosx_11_0_arm64.whl (532.8 kB view details)

Uploaded CPython 3.9+macOS 11.0+ ARM64

verity_x3p-0.2.0-cp39-abi3-macosx_10_12_x86_64.whl (541.1 kB view details)

Uploaded CPython 3.9+macOS 10.12+ x86-64

File details

Details for the file verity_x3p-0.2.0.tar.gz.

File metadata

  • Download URL: verity_x3p-0.2.0.tar.gz
  • Upload date:
  • Size: 38.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for verity_x3p-0.2.0.tar.gz
Algorithm Hash digest
SHA256 520ee06cb507e9fed77bab106821ce1d33b152e17b2b4fe06c392493a916c3c6
MD5 dfd0f9b966ab8a33a144713d601559a2
BLAKE2b-256 ccb5761f9835835c13a679aff32f67cfc8f4c11a7d254540acb34dc9f3f2e9b6

See more details on using hashes here.

Provenance

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

Publisher: release.yml on erichare/verity

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

File details

Details for the file verity_x3p-0.2.0-cp39-abi3-win_amd64.whl.

File metadata

  • Download URL: verity_x3p-0.2.0-cp39-abi3-win_amd64.whl
  • Upload date:
  • Size: 424.6 kB
  • Tags: CPython 3.9+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for verity_x3p-0.2.0-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 192b0a93740760abcc2014ce2f7df69a25ed3a5109e0c3deef92b8c203c9a919
MD5 92d8f75262f91852ed34615fe8f63e29
BLAKE2b-256 7e6327472c0e6adc25a7a5646e7a25d7470c7dec51bf11d843af7e177382de20

See more details on using hashes here.

Provenance

The following attestation bundles were made for verity_x3p-0.2.0-cp39-abi3-win_amd64.whl:

Publisher: release.yml on erichare/verity

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

File details

Details for the file verity_x3p-0.2.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for verity_x3p-0.2.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 761214225b66711026e2db7bbad6579928a9df3beee03d4f9f57de4fb8ff79aa
MD5 17d7a89333822c12aa4cc55b28a6cb0e
BLAKE2b-256 af6da438cff6a015a38c06c942121af79db51ac16d9f11939996f730cd87cbb2

See more details on using hashes here.

Provenance

The following attestation bundles were made for verity_x3p-0.2.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: release.yml on erichare/verity

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

File details

Details for the file verity_x3p-0.2.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for verity_x3p-0.2.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 152cea535ad3ceeb3157e457b46e295b13238d3f7562d19a4353eb1ebd1d120b
MD5 362aaec62496ce7e82cb6e98350d3283
BLAKE2b-256 7b3d2e6bafe99fb8032cad71ebae7d41f6f71be2d2e8bacf2cc4e358b577cd24

See more details on using hashes here.

Provenance

The following attestation bundles were made for verity_x3p-0.2.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: release.yml on erichare/verity

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

File details

Details for the file verity_x3p-0.2.0-cp39-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for verity_x3p-0.2.0-cp39-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 876b0284e71a2a6468d67b64af6cd854899a3ed240bed8303d18655ddf432e7c
MD5 c979af647fb6b93953cfa73e8f5dc15c
BLAKE2b-256 b7fa396df9aa6016c408fa5a0f60ac16e8e31b133ef6c30005adbec7574fa7c5

See more details on using hashes here.

Provenance

The following attestation bundles were made for verity_x3p-0.2.0-cp39-abi3-macosx_11_0_arm64.whl:

Publisher: release.yml on erichare/verity

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

File details

Details for the file verity_x3p-0.2.0-cp39-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for verity_x3p-0.2.0-cp39-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 4d0abcd05101c3ccd603257638da0a092cb5326314cb217ece00aecf28d34cd6
MD5 36e3943475764efc3d1118c69d144617
BLAKE2b-256 4d5209f9dcbf9cfbd76e100b8760e74645c0762621474ce053cb76ffcffa0251

See more details on using hashes here.

Provenance

The following attestation bundles were made for verity_x3p-0.2.0-cp39-abi3-macosx_10_12_x86_64.whl:

Publisher: release.yml on erichare/verity

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