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