Skip to main content

Widget to display page-based documents for Qt6/PyQt6

Project description

qpageview provides a page based document viewer widget for Qt6/PyQt6.

It has a flexible architecture potentionally supporting many formats. Currently, it supports PDF and SVG documents and several image formats.

import qpageview

from PyQt6.QtWidgets import *
a = QApplication([])

v = qpageview.View()
v.show()
v.loadPdf("path/to/afile.pdf")

a.exec()

HomepageDevelopmentDownloadDocumentationLicense

Features

  • Versatile View widget with many optional mixin classes to cater for anything between basic or powerful functionality.

  • Rendering in a background thread, with smart priority control, so display of large PDF documents remains fast and smooth.

  • Almost infinite zooming thanks to tile-based rendering and caching.

  • Magnifier glass.

  • Printing functionality, directly to cups or via Qt/QPrinter.

  • Can display pages originating from different documents at the same time.

  • Can show the difference between pages that are almost the same via color composition.

  • And much more! And…all classes are extendable and heavily customizable, so it is easy to inherit and add any functionality you want.

Dependencies

  • Python 3.7+

  • Qt 6.6+

  • PyQt6

  • pycups (optionally, needed to print to a local CUPS server)

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

qpageview-1.0.3.tar.gz (135.5 kB view details)

Uploaded Source

Built Distribution

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

qpageview-1.0.3-py3-none-any.whl (123.4 kB view details)

Uploaded Python 3

File details

Details for the file qpageview-1.0.3.tar.gz.

File metadata

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

File hashes

Hashes for qpageview-1.0.3.tar.gz
Algorithm Hash digest
SHA256 0034b5483abc44d358e47a746714533fdffadde2b864d1ce49aa1e652cc64ae2
MD5 b5ef4a5ee00a7448057b73525b0ea71e
BLAKE2b-256 aed6992141bf423513d2e24481c2a0d8d482f4a526fef3a22059062ee98dce89

See more details on using hashes here.

Provenance

The following attestation bundles were made for qpageview-1.0.3.tar.gz:

Publisher: release.yml on frescobaldi/qpageview

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

File details

Details for the file qpageview-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: qpageview-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 123.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for qpageview-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a736b9e279eb73d986b9a0891f3df99b4200518cdcf2d2909a17b293b2055372
MD5 8998027a94b4cedf9a589498d5cf3887
BLAKE2b-256 8304c30fe36dd8273c79c07742fd2fff766f0da8b94ac569a36bb1c72c298934

See more details on using hashes here.

Provenance

The following attestation bundles were made for qpageview-1.0.3-py3-none-any.whl:

Publisher: release.yml on frescobaldi/qpageview

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