{ "info": { "author": "Wilbert Berendsen", "author_email": "wbsoft@xs4all.nl", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)", "Operating System :: MacOS :: MacOS X", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX", "Programming Language :: Python :: 3", "Topic :: Multimedia :: Graphics :: Viewers" ], "description": "==================\npython-poppler-qt5\n==================\n\nA Python binding for libpoppler-qt5 that aims for completeness and for being\nactively maintained.\n\nCreated and currently maintained by Wilbert Berendsen .\n\nHomepage: https://pypi.python.org/pypi/python-poppler-qt5/\n\n\nUsage::\n\n import popplerqt5\n d = popplerqt5.Poppler.Document.load('file.pdf')\n\n\nDocumentation\n-------------\n\nThe Python API closely follows the Poppler Qt5 C++ interface library API,\ndocumented at http://people.freedesktop.org/~aacid/docs/qt5/ .\n\nNote: Releases of PyQt5 < 5.4 currently do not support the QtXml module,\nall methods that use the QDomDocument, QDomElement and QDomNode types are\ndisabled. This concerns the ``Document::toc()`` method and some constructors\nand the ``store()`` methods in the ``Annotation`` subclasses. So, using\nPyQt5 >= 5.4 is recommended.\n\nWherever the C++ API requires ``QList``, ``QSet`` or ``QLinkedList``, any\nPython sequence can be used. \nAPI calls that return ``QList``, ``QSet`` or ``QLinkedList`` all return Python\nlists.\n\nThere are a few other differences:\n\n``Poppler::Document::getPdfVersion(int *major, int *minor)`` can simply be\ncalled as ``d.getPdfVersion()``, (where ``d`` is a ``Poppler::Document``\ninstance); it will return a tuple of two integers (major, minor).\n\n``Poppler::Document`` has ``__len__`` and ``__getitem__`` methods, corresponding\nto ``numPages()`` and ``page(int num)``.\n\n``Poppler::FontIterator`` (returned by ``Poppler::Document::newFontIterator``)\nis also a Python iterable (e.g. has ``__iter__()`` and ``__next__()`` methods).\nSo although you can use::\n\n it = document.newFontIterator()\n while it.hasNext():\n fonts = it.next() # list of FontInfo objects\n ...\n\nyou can also use the more Pythonic::\n\n for fonts in document.newFontIterator():\n ...\n\nIn addition to the Poppler namespace, there are two toplevel module\nfunctions:\n\n ``popplerqt5.version()``\n returns the version of the ``python-poppler-qt5`` package as a\n tuple of ints, e.g. ``(0, 18, 2)``.\n \n ``popplerqt5.poppler_version()``\n returns the version of the linked Poppler-Qt5 library as a\n tuple of ints, e.g. ``(0, 24, 5)``.\n \n This is determined at build time. If at build time the Poppler-Qt5\n version could not be determined and was not specified, an empty\n tuple might be returned.\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/wbsoft/python-poppler-qt5", "keywords": "", "license": "LGPL", "maintainer": "", "maintainer_email": "", "name": "python-poppler-qt5", "package_url": "https://pypi.org/project/python-poppler-qt5/", "platform": "", "project_url": "https://pypi.org/project/python-poppler-qt5/", "project_urls": { "Homepage": "https://github.com/wbsoft/python-poppler-qt5" }, "release_url": "https://pypi.org/project/python-poppler-qt5/0.74.0/", "requires_dist": null, "requires_python": "", "summary": "A Python binding to Poppler-Qt5", "version": "0.74.0" }, "last_serial": 5851014, "releases": { "0.24.0": [], "0.24.1": [ { "comment_text": "", "digests": { "md5": "c2f79ba22f270cafb829ff619ce58fd6", "sha256": "4254c4d5a1a76b13f8350815c90693bccee4705f4a1c8ad1021dd79f6b008c84" }, "downloads": -1, "filename": "python-poppler-qt5-0.24.1.tar.gz", "has_sig": false, "md5_digest": "c2f79ba22f270cafb829ff619ce58fd6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17386, "upload_time": "2015-02-22T12:02:04", "url": "https://files.pythonhosted.org/packages/26/41/81e7ee90baeeee2a5179af742edbac621ebf58d66b980f55547ef21e58f8/python-poppler-qt5-0.24.1.tar.gz" } ], "0.24.2": [ { "comment_text": "", "digests": { "md5": "1f45ed0f7f3cacc1d0f9e626bd5fb5c8", "sha256": "3970c35ce1f0f1464a6c2746bea4c479b9780b4e17030c92479f7f1738a5c950" }, "downloads": -1, "filename": "python-poppler-qt5-0.24.2.tar.gz", "has_sig": false, "md5_digest": "1f45ed0f7f3cacc1d0f9e626bd5fb5c8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20944, "upload_time": "2015-02-27T09:43:14", "url": "https://files.pythonhosted.org/packages/af/e7/aa451d4ca0910472c4442d8aa6ef44300852926d85ad033b029a22157027/python-poppler-qt5-0.24.2.tar.gz" } ], "0.74.0": [ { "comment_text": "", "digests": { "md5": "cbc6ac94ed0a0812d1b10949f7c96b1f", "sha256": "a21ad645d32c7544782587a01530378ff2718ad007a4ad5279a9783935a6086c" }, "downloads": -1, "filename": "python-poppler-qt5-0.74.0.tar.gz", "has_sig": false, "md5_digest": "cbc6ac94ed0a0812d1b10949f7c96b1f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23894, "upload_time": "2019-09-18T15:38:06", "url": "https://files.pythonhosted.org/packages/c0/74/1479a3435ce3a68cb6f1de7cd60398c480893bcb5f6d7be2b7fa4c58f7a6/python-poppler-qt5-0.74.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "cbc6ac94ed0a0812d1b10949f7c96b1f", "sha256": "a21ad645d32c7544782587a01530378ff2718ad007a4ad5279a9783935a6086c" }, "downloads": -1, "filename": "python-poppler-qt5-0.74.0.tar.gz", "has_sig": false, "md5_digest": "cbc6ac94ed0a0812d1b10949f7c96b1f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23894, "upload_time": "2019-09-18T15:38:06", "url": "https://files.pythonhosted.org/packages/c0/74/1479a3435ce3a68cb6f1de7cd60398c480893bcb5f6d7be2b7fa4c58f7a6/python-poppler-qt5-0.74.0.tar.gz" } ] }