~ubuntu-branches/debian/sid/python-poppler-qt4/sid

« back to all changes in this revision

Viewing changes to python_poppler_qt4.egg-info/PKG-INFO

  • Committer: Package Import Robot
  • Author(s): Anthony Fok
  • Date: 2015-09-02 02:57:58 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20150902025758-e6hy7jbboeoy1yq2
Tags: 0.24.0-1
* New upstream release. (Closes: #758108)
* Revamp package with py2dsc (python-stdeb), pybuild and friends.
* Add new python3-poppler-qt4 binary package for Python 3.
* Convert debian/copyright to machine-readable format v1.0.
* Bump Standards-Version to 3.9.6, no changes needed.
* Promote "Debian Python Modules Team" as Maintainer.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
Metadata-Version: 1.1
2
2
Name: python-poppler-qt4
3
 
Version: 0.16.3
 
3
Version: 0.24.0
4
4
Summary: A Python binding to Poppler-Qt4
5
 
Home-page: http://python-poppler-qt4.googlecode.com/
 
5
Home-page: https://github.com/wbsoft/python-poppler-qt4
6
6
Author: Wilbert Berendsen
7
7
Author-email: wbsoft@xs4all.nl
8
8
License: LGPL
9
 
Description: A Python binding to Poppler-Qt4 that aims for completeness and for being actively maintained.
 
9
Description: ==================
 
10
        python-poppler-qt4
 
11
        ==================
 
12
        
 
13
        A Python binding for libpoppler-qt4 that aims for completeness and for being
 
14
        actively maintained.
 
15
        
 
16
        Created and currently maintained by Wilbert Berendsen <wbsoft@xs4all.nl>.
 
17
        
 
18
        Homepage: https://pypi.python.org/pypi/python-poppler-qt4/
 
19
        
 
20
        
 
21
        Usage::
 
22
        
 
23
            import popplerqt4
 
24
            d = popplerqt4.Poppler.Document.load('file.pdf')
 
25
        
 
26
        
 
27
        Documentation
 
28
        -------------
 
29
        
 
30
        The Python API closely follows the Poppler Qt4 C++ interface library API,
 
31
        documented at http://people.freedesktop.org/~aacid/docs/qt4/ .
 
32
        
 
33
        Whereever the C++ API requires ``QList``, ``QSet`` or ``QLinkedList``, any
 
34
        Python sequence can be used. 
 
35
        API calls that return ``QList``, ``QSet`` or ``QLinkedList`` all return Python
 
36
        lists.
 
37
        
 
38
        There are a few differences:
 
39
        
 
40
        ``Poppler::Document::getPdfVersion(int *major, int *minor)`` can simply be
 
41
        called as ``d.getPdfVersion()``, (where ``d`` is a ``Poppler::Document``
 
42
        instance); it will return a tuple of two integers (major, minor).
 
43
        
 
44
        ``Poppler::FontIterator`` (returned by ``Poppler::Document::newFontIterator``)
 
45
        is also a Python iterable (e.g. has ``__iter__()`` and ``__next__()`` methods).
 
46
        So although you can use::
 
47
        
 
48
            it = document.newFontIterator()
 
49
            while it.hasNext():
 
50
                fonts = it.next()  # list of FontInfo objects
 
51
                ...
 
52
        
 
53
        you can also use the more Pythonic::
 
54
        
 
55
            for fonts in document.newFontIterator():
 
56
                ...
 
57
        
 
58
        In addition to the Poppler namespace, there are two toplevel module
 
59
        functions:
 
60
        
 
61
            ``popplerqt4.version()``
 
62
                returns the version of the ``python-poppler-qt4`` package as a
 
63
                tuple of ints, e.g. ``(0, 18, 2)``.
 
64
            
 
65
            ``popplerqt4.poppler_version()``
 
66
                returns the version of the linked Poppler-Qt4 library as a
 
67
                tuple of ints, e.g. ``(0, 24, 5)``.
 
68
                
 
69
                This is determined at build time. If at build time the Poppler-Qt4
 
70
                version could not be determined and was not specified, an empty
 
71
                tuple might be returned.
 
72
        
 
73
        
10
74
Platform: UNKNOWN
11
 
Classifier: Development Status :: 4 - Beta
 
75
Classifier: Development Status :: 5 - Production/Stable
12
76
Classifier: Intended Audience :: Developers
13
77
Classifier: License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)
14
78
Classifier: Operating System :: MacOS :: MacOS X
15
79
Classifier: Operating System :: Microsoft :: Windows
16
80
Classifier: Operating System :: POSIX
17
81
Classifier: Programming Language :: Python
 
82
Classifier: Programming Language :: Python :: 2.6
 
83
Classifier: Programming Language :: Python :: 2.7
 
84
Classifier: Programming Language :: Python :: 3
18
85
Classifier: Topic :: Multimedia :: Graphics :: Viewers