2016-05-20 19:12:05 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
2017-08-18 06:13:15 +00:00
|
|
|
"""
|
|
|
|
Fork of PDFMiner using six for Python 2+3 compatibility
|
|
|
|
|
|
|
|
PDFMiner is a tool for extracting information from PDF documents.
|
|
|
|
Unlike other PDF-related tools, it focuses entirely on getting and analyzing
|
|
|
|
text data. PDFMiner allows to obtain the exact location of texts in a page,
|
|
|
|
as well as other information such as fonts or lines.
|
|
|
|
It includes a PDF converter that can transform PDF files into other text
|
|
|
|
formats (such as HTML). It has an extensible PDF parser that can be used for
|
|
|
|
other purposes instead of text analysis.
|
|
|
|
"""
|
2019-10-20 11:59:29 +00:00
|
|
|
import sys
|
|
|
|
import warnings
|
|
|
|
|
2019-10-20 12:21:48 +00:00
|
|
|
__version__ = '20191020'
|
2016-05-20 19:12:05 +00:00
|
|
|
|
2019-10-20 11:59:29 +00:00
|
|
|
|
|
|
|
if sys.version_info < (3, 0):
|
|
|
|
warnings.warn('On January 1st, 2020, pdfminer.six will stop supporting Python 2. Please upgrade to Python 3. For '
|
|
|
|
'more information see https://github.com/pdfminer/pdfminer.six/issues/194')
|
|
|
|
|
2016-05-20 19:12:05 +00:00
|
|
|
if __name__ == '__main__':
|
2017-08-18 06:13:15 +00:00
|
|
|
print(__version__)
|