Skip to main content

Rust core for pdflinkcheck: fast PDF link & TOC extraction

Project description

pdflinkcheck-rust

The high-performance Rust core for pdflinkcheck. This package provides native PDF analysis capabilities using PDFium via PyO3 bindings.

Prerequisites

  • Rust & Cargo: Install here

  • Python 3.10+

  • Maturin: uv tool install maturin or pip install maturin

  • libpdfium.so: This project requires a compiled PDFium shared library.

Project Structure

  • src/: Rust source code (PyO3 bindings and analysis logic).

  • pdflinkcheck_rust/: Python package wrapper.

  • pdflinkcheck_rust/libpdfium.so: The PDFium binary (must be present for the engine to function).

Development

To compile the Rust code and install the package into your current virtual environment:

Bash

# Ensure libpdfium.so is in pdflinkcheck_rust/
maturin develop

To run the standalone Rust CLI:

Bash

cargo build --release
./target/release/pdflinkcheck-rust <path_to_pdf>

Environment Configuration

Because the Rust engine links to PDFium at runtime, you may need to point your library loader to the package directory during local testing:

Bash

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$(pwd)/pdflinkcheck_rust

Building for Distribution

To create a wheel for installation in other projects:

Bash

maturin build --release

The resulting wheel will be located in target/wheels/.

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

pdflinkcheck_rust-0.1.13.tar.gz (14.9 kB view details)

Uploaded Source

Built Distributions

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

pdflinkcheck_rust-0.1.13-cp314-cp314-macosx_11_0_arm64.whl (783.8 kB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

pdflinkcheck_rust-0.1.13-cp314-cp314-macosx_10_12_x86_64.whl (755.9 kB view details)

Uploaded CPython 3.14macOS 10.12+ x86-64

pdflinkcheck_rust-0.1.13-cp313-cp313-macosx_11_0_arm64.whl (784.1 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

pdflinkcheck_rust-0.1.13-cp313-cp313-macosx_10_12_x86_64.whl (756.1 kB view details)

Uploaded CPython 3.13macOS 10.12+ x86-64

pdflinkcheck_rust-0.1.13-cp312-cp312-macosx_11_0_arm64.whl (783.9 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

pdflinkcheck_rust-0.1.13-cp312-cp312-macosx_10_12_x86_64.whl (756.0 kB view details)

Uploaded CPython 3.12macOS 10.12+ x86-64

pdflinkcheck_rust-0.1.13-cp311-cp311-macosx_11_0_arm64.whl (786.2 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

pdflinkcheck_rust-0.1.13-cp311-cp311-macosx_10_12_x86_64.whl (757.3 kB view details)

Uploaded CPython 3.11macOS 10.12+ x86-64

File details

Details for the file pdflinkcheck_rust-0.1.13.tar.gz.

File metadata

  • Download URL: pdflinkcheck_rust-0.1.13.tar.gz
  • Upload date:
  • Size: 14.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pdflinkcheck_rust-0.1.13.tar.gz
Algorithm Hash digest
SHA256 cf9cf11db7cfb18cdeb1c06ac444ff62170c3db89c031bc807e168a069478a16
MD5 e21985977ab78e0f1c1a3cd499fc8526
BLAKE2b-256 61d6f0e71d884702a75d64aebfa31115e91fd228a5507599fcc9859ebd89439e

See more details on using hashes here.

Provenance

The following attestation bundles were made for pdflinkcheck_rust-0.1.13.tar.gz:

Publisher: publish.yml on City-of-Memphis-Wastewater/pdflinkcheck-rust

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

File details

Details for the file pdflinkcheck_rust-0.1.13-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pdflinkcheck_rust-0.1.13-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c4c6dfd4c0a9e04183660cbfbdb1f1910363bfbd1742af16df16cb241f555fb9
MD5 476b5e6ff147a79a24540717b7ed3091
BLAKE2b-256 dd423d18a88817003d4ece0c20e8d33d0061c2623cfa7e061d5dc8b5ff803708

See more details on using hashes here.

Provenance

The following attestation bundles were made for pdflinkcheck_rust-0.1.13-cp314-cp314-macosx_11_0_arm64.whl:

Publisher: publish.yml on City-of-Memphis-Wastewater/pdflinkcheck-rust

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

File details

Details for the file pdflinkcheck_rust-0.1.13-cp314-cp314-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for pdflinkcheck_rust-0.1.13-cp314-cp314-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 19e0c5c2d428ead3faa085b0765b6e17f38f0c172d3f95691a2078409279cf4d
MD5 0e53810a603aab8a5acb93da79d95d64
BLAKE2b-256 883c0306c2f7dd7374df105d3c2235068173763d8fee54edb15978d45367d87f

See more details on using hashes here.

Provenance

The following attestation bundles were made for pdflinkcheck_rust-0.1.13-cp314-cp314-macosx_10_12_x86_64.whl:

Publisher: publish.yml on City-of-Memphis-Wastewater/pdflinkcheck-rust

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

File details

Details for the file pdflinkcheck_rust-0.1.13-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pdflinkcheck_rust-0.1.13-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4a8a89ead11388adcffa552a7899e8ee9c3c6fb1bf304cabd7772d8f54dfebb9
MD5 3fa6429526ee85728ce12b14cd48a36d
BLAKE2b-256 7bf4fb4d3dc4288c077fcf2e3ed75920dc46a03c9626b7c6b68a4c4e9508b300

See more details on using hashes here.

Provenance

The following attestation bundles were made for pdflinkcheck_rust-0.1.13-cp313-cp313-macosx_11_0_arm64.whl:

Publisher: publish.yml on City-of-Memphis-Wastewater/pdflinkcheck-rust

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

File details

Details for the file pdflinkcheck_rust-0.1.13-cp313-cp313-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for pdflinkcheck_rust-0.1.13-cp313-cp313-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 46d39232114bcfffe3f34ea1eb4c225653f4440be74a4ed5d406dd498d93f5bb
MD5 2bb7fd21faafa4f6ba160af449331fa1
BLAKE2b-256 c20fa76956faae378d65f5505565ea2e58faf3432cc39405d0ab358c7df0c504

See more details on using hashes here.

Provenance

The following attestation bundles were made for pdflinkcheck_rust-0.1.13-cp313-cp313-macosx_10_12_x86_64.whl:

Publisher: publish.yml on City-of-Memphis-Wastewater/pdflinkcheck-rust

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

File details

Details for the file pdflinkcheck_rust-0.1.13-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pdflinkcheck_rust-0.1.13-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8297ebb07b34457aed3671d2e169a0430352d3acbe4a604d27a45f388ca8c31c
MD5 e2e45871441cfe9d698c6d7245277665
BLAKE2b-256 1fe6ba7359b554d0f1f59a651c491882a3991b8f212bed09921c2829e72af7d9

See more details on using hashes here.

Provenance

The following attestation bundles were made for pdflinkcheck_rust-0.1.13-cp312-cp312-macosx_11_0_arm64.whl:

Publisher: publish.yml on City-of-Memphis-Wastewater/pdflinkcheck-rust

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

File details

Details for the file pdflinkcheck_rust-0.1.13-cp312-cp312-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for pdflinkcheck_rust-0.1.13-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 6e766a53675caa95e4fc8e0455534c1d53920590d1bf79c37161afd959b06635
MD5 7e0801e786cf9d9d032dcd8085ad562c
BLAKE2b-256 e052dcadda6f5c5e810d0c56ee5ce1738c5e9eff588fddd9546ce434b3d0a484

See more details on using hashes here.

Provenance

The following attestation bundles were made for pdflinkcheck_rust-0.1.13-cp312-cp312-macosx_10_12_x86_64.whl:

Publisher: publish.yml on City-of-Memphis-Wastewater/pdflinkcheck-rust

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

File details

Details for the file pdflinkcheck_rust-0.1.13-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pdflinkcheck_rust-0.1.13-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4c1df8d56941052c221d6ee1b081b1405f18a45bea4b6411588d4b234a19b8df
MD5 0dd381379f11a58dcb518f6dc4c8d69a
BLAKE2b-256 928141315647f77fc712119d41c9610ca2509036371a81fd62f43e216a5eadb8

See more details on using hashes here.

Provenance

The following attestation bundles were made for pdflinkcheck_rust-0.1.13-cp311-cp311-macosx_11_0_arm64.whl:

Publisher: publish.yml on City-of-Memphis-Wastewater/pdflinkcheck-rust

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

File details

Details for the file pdflinkcheck_rust-0.1.13-cp311-cp311-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for pdflinkcheck_rust-0.1.13-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 fc9767a028f3b201ee5741c1f846cbd40b2cd73bf602fe48a5103c3988c475ee
MD5 a7816a5d77e1da763e3b6c9fdd26395d
BLAKE2b-256 72b1ade199f4094ce9765b06d12710ca7dc2a58c040096c6399940b37a4bce34

See more details on using hashes here.

Provenance

The following attestation bundles were made for pdflinkcheck_rust-0.1.13-cp311-cp311-macosx_10_12_x86_64.whl:

Publisher: publish.yml on City-of-Memphis-Wastewater/pdflinkcheck-rust

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