Skip to main content

sealwax for Python

Python bindings of sealwax, a PDF library written in Rust.

  • Read PDF documents and their page geometry.
  • Fill and flatten annotations, apply XFDF.
  • Convert to PDF/A-3 (levels b, u and a).
  • Sign with PAdES signatures, timestamps, long-term validation data and document timestamps (up to B-LTA). The key stays in your HSM: any object with sign_digest signs.
  • Check the integrity of the signatures a document holds.
  • Convert Word documents (DOCX) to PDF, tagged with their structure and bookmarks, laid out by docxide-pdf. Fonts are those installed, and the directories you name first.

sealwax works with the interpreter lock released, within Limits that bound what a hostile document may cost, and can run an operation in a process of its own, with a memory cap (sealwax.isolated).

import sealwax

data = open("in.pdf", "rb").read()
archived, report = sealwax.pdfa_convert(data, level="3a", limits=sealwax.Limits(timeout=60))

# The layout's own time is not bounded: a document you do not trust converts in a process of
# its own.
docx = open("in.docx", "rb").read()
pdf, report = sealwax.isolated(sealwax.docx_to_pdf, docx, timeout=60, memory=2 << 30)

Licensed under MIT OR Apache-2.0, at your option.

Metadata

Release files for sealwax 0.8.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 sealwax 0.8.0
File Size Uploaded Provenance Actions
sealwax-0.8.0.tar.gz 1.0 MB With provenance Details for sealwax-0.8.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for sealwax 0.8.0
File Interpreter ABI Platform Actions
sealwax-0.8.0-cp312-abi3-manylinux_2_28_x86_64.whl CPython 3.12 abi3 Linux glibc 2.28+ x86-64 Details for sealwax-0.8.0-cp312-abi3-manylinux_2_28_x86_64.whl
sealwax-0.8.0-cp312-abi3-manylinux_2_28_aarch64.whl CPython 3.12 abi3 Linux glibc 2.28+ ARM64 Details for sealwax-0.8.0-cp312-abi3-manylinux_2_28_aarch64.whl
sealwax-0.8.0-cp312-abi3-macosx_11_0_arm64.whl CPython 3.12 abi3 macOS 11.0+ ARM64 Details for sealwax-0.8.0-cp312-abi3-macosx_11_0_arm64.whl

Total release size: 26.5 MB

Release files / sealwax-0.8.0.tar.gz

Download URL sealwax-0.8.0.tar.gz
Size 1.0 MB
Tags Source
SHA-256 checksum
How to use checksums
36b19ab0fb567ec9c7cbb34b42d58351bf309d9e335efcf25f9658f10b845602
BLAKE2b-256 checksum
How to use checksums
4ca9e99f3b5402014fa2a992a450582197a802fa58ee006f432ab37990195520
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 18, 2026.

Transparency log

Release files / sealwax-0.8.0-cp312-abi3-manylinux_2_28_x86_64.whl

Download URL sealwax-0.8.0-cp312-abi3-manylinux_2_28_x86_64.whl
Size 9.1 MB
Tags CPython 3.12 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
4db1c5a210003820cb6b721b49f35d301d2cf7e3270b4dc0376c80466996aae4
BLAKE2b-256 checksum
How to use checksums
31570f4a833ea7fcf86329c6f475c231cab277286f7a372552c1d84c55d5795d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 18, 2026.

Transparency log

Release files / sealwax-0.8.0-cp312-abi3-manylinux_2_28_aarch64.whl

Download URL sealwax-0.8.0-cp312-abi3-manylinux_2_28_aarch64.whl
Size 8.5 MB
Tags CPython 3.12 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
a68cbcd253fe3af2693b7d6a318e88d5366fef0a96773942f4ea283a07e0d29b
BLAKE2b-256 checksum
How to use checksums
0a76b8e5f3a42bb5f22e83b02d3ad162954699576fcada4e14986c683cac5a83
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 18, 2026.

Transparency log

Release files / sealwax-0.8.0-cp312-abi3-macosx_11_0_arm64.whl

Download URL sealwax-0.8.0-cp312-abi3-macosx_11_0_arm64.whl
Size 8.0 MB
Tags CPython 3.12 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
2fe84f2cc8cfb8ebca19da203cfedf840ef5169a88612c6e1b8b787e52a6dd98
BLAKE2b-256 checksum
How to use checksums
8c1c836c4fba4638e1da56de1204ef39a16bcb0b1797cd9b76d0c33c93fc547f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 18, 2026.

Transparency log

Security for sealwax 0.8.0

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.

Full provenance

All 4 files in this release have been uploaded with provenance metadata.

Select from 4 files

Attestation for sealwax-0.8.0.tar.gz

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 Nov 18, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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