Python Forum

Full Version: pdfminer.six: search for complete documentation
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

I couldn't find a resource with complete documentation of pdfminer.six.
According to this resource, there are only 3 functions:
API Reference
So, there is no function that returns the number of pages in .pdf file ?

Thanks.
(Jan-25-2021, 03:38 PM)Pavel_47 Wrote: [ -> ]I couldn't find a resource with complete documentation of pdfminer.six.

If you just click on pdfminer.six in the top-left corner of the link you shared
https://pdfminersix.readthedocs.io/en/latest/index.html
There is the only link to the description of high-level API functions at the link you provided (the link I mentionned in my 1st message).
None of these API functions allows to get the number of pages.
There is another link, where a number of other components of pdfminer.six are used (e.g. converter, layout, pdfdocument, etc.):
Extract text from a PDF using Python - part 2
But where is documentation on all these components ?
Sincerely,
Pavel.
(Jan-25-2021, 03:58 PM)Pavel_47 Wrote: [ -> ]There is another link, where a number of other components of pdfminer.six are used (e.g. converter, layout, pdfdocument, etc.):
It's part of the same documentation site.
Unfortunately that's all what you get. If you look at package page on PyPI you will see that this is is Read the docs link. Unfortunately it's not complete on composable API - there is still TODO section.


You can always look at the source code