Skip to main content

pdf-preview

Preview Excel/Word documents via PDF.

Install

uv tool install pdf-preview
pdf-preview -i

or with pip:

py -m pip install pdf-preview
py -m pdf_preview -i

This command adds a registry KEY HKEY_CLASSES_ROOT\Directory\shell\pdf_Preview.convert\command and default VALUE <python executable> -m pdf_preview "%1". You will see context menu for directory. Select it for execute PDF Preview application. When you select a Word / Excel document in the tree, the result converted to pdf is displayed.

Requirements

  • Windows

  • Python 3.12 or later

  • Microsoft Excel / Word (used for PDF conversion)

Dependencies

  • pywin32

  • pypdf

  • PySide6

  • openpyxl

  • PyYAML

and their requirement packages.

Development

uv sync
uv run pytest -v
uv build

Uses

  • Qt PDF (QPdfView) for rendering

Metadata

Release files for pdf-preview 0.4.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 pdf-preview 0.4.0
File Size Uploaded Provenance Actions
pdf_preview-0.4.0.tar.gz 16.5 kB With provenance Details for pdf_preview-0.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pdf-preview 0.4.0
File Interpreter ABI Platform Actions
pdf_preview-0.4.0-py3-none-any.whl Python 3 none any Details for pdf_preview-0.4.0-py3-none-any.whl

Total release size: 33.6 kB

Release files / pdf_preview-0.4.0.tar.gz

Download URL pdf_preview-0.4.0.tar.gz
Size 16.5 kB
Tags Source
SHA-256 checksum
How to use checksums
6f0d073f2bd59ba65dda95cb1f5f39e9248a50de1ec914a2453d1ddbec02828f
BLAKE2b-256 checksum
How to use checksums
95b10e410d5c08a7c6becdb541640a2c104d68eff8cb4ec4ae885d75c1751e34
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 Oct 22, 2026.

Transparency log

Release files / pdf_preview-0.4.0-py3-none-any.whl

Download URL pdf_preview-0.4.0-py3-none-any.whl
Size 17.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2e5b1a8f36cb4e47b2d8f4a7e41fb358a766607492e32129d64e9bfde0b47d13
BLAKE2b-256 checksum
How to use checksums
83d74e39f768cd055637d68a6cf6cc20f341603441a8e46be3a6db5781ef60f1
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 Oct 22, 2026.

Transparency log

Security for pdf-preview 0.4.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

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pdf_preview-0.4.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 Oct 22, 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