Skip to main content

Widget to display page-based documents for Qt5/PyQt5

Project description

qpageview provides a page based document viewer widget for Qt5/PyQt5.

It has a flexible architecture potentionally supporting many formats. Currently, it supports SVG documents, images, and, using the Poppler-Qt5 binding, PDF documents.

import qpageview

from PyQt5.Qt import *
a = QApplication([])

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

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.6+

  • Qt5

  • PyQt5

  • python-poppler-qt5 (needed for display of PDF documents)

  • 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-0.6.2.tar.gz (162.2 kB view details)

Uploaded Source

Built Distribution

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

qpageview-0.6.2-py3-none-any.whl (127.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: qpageview-0.6.2.tar.gz
  • Upload date:
  • Size: 162.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.4

File hashes

Hashes for qpageview-0.6.2.tar.gz
Algorithm Hash digest
SHA256 1c1e3d6dc5374264e1f7c7d4a78616a811e8131c7ed214aed7e08a71f12923e9
MD5 6113c06e313950bca27c1aa5763db45e
BLAKE2b-256 1aba3c97ebc7e826d77d2c224e925c0e4e908e007fd76c187bf252d3c9832d61

See more details on using hashes here.

File details

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

File metadata

  • Download URL: qpageview-0.6.2-py3-none-any.whl
  • Upload date:
  • Size: 127.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for qpageview-0.6.2-py3-none-any.whl
Algorithm Hash digest
SHA256 268b01fd5540d4326e1a9ae832f517186ab4d46bffc0c4f17377af1e764ad1c3
MD5 3d26549630aaf2fe08219cae3bd37672
BLAKE2b-256 ba9b7c1a30848813a81cad568cc512fdd6a0b369e8017ba31b6b572b39ed1447

See more details on using hashes here.

Provenance

The following attestation bundles were made for qpageview-0.6.2-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