METADATA 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. Metadata-Version: 2.4
  2. Name: pdfminer.six
  3. Version: 20250506
  4. Summary: PDF parser and analyzer
  5. Author: Yusuke Shinyama, Pieter Marsman
  6. Author-email: Philippe Guglielmetti <pdfminer@goulu.net>
  7. License-Expression: MIT
  8. Project-URL: Homepage, https://github.com/pdfminer/pdfminer.six
  9. Keywords: layout analysis,pdf converter,pdf parser,text mining
  10. Classifier: Development Status :: 5 - Production/Stable
  11. Classifier: Environment :: Console
  12. Classifier: Intended Audience :: Developers
  13. Classifier: Intended Audience :: Science/Research
  14. Classifier: Programming Language :: Python
  15. Classifier: Programming Language :: Python :: 3 :: Only
  16. Classifier: Programming Language :: Python :: 3.9
  17. Classifier: Programming Language :: Python :: 3.10
  18. Classifier: Programming Language :: Python :: 3.11
  19. Classifier: Programming Language :: Python :: 3.12
  20. Classifier: Programming Language :: Python :: 3.13
  21. Classifier: Topic :: Text Processing
  22. Requires-Python: >=3.9
  23. Description-Content-Type: text/markdown
  24. License-File: LICENSE
  25. Requires-Dist: charset-normalizer>=2.0.0
  26. Requires-Dist: cryptography>=36.0.0
  27. Provides-Extra: dev
  28. Requires-Dist: atheris; python_version < "3.12" and extra == "dev"
  29. Requires-Dist: black; extra == "dev"
  30. Requires-Dist: mypy==0.931; extra == "dev"
  31. Requires-Dist: nox; extra == "dev"
  32. Requires-Dist: pytest; extra == "dev"
  33. Provides-Extra: docs
  34. Requires-Dist: sphinx; extra == "docs"
  35. Requires-Dist: sphinx-argparse; extra == "docs"
  36. Provides-Extra: image
  37. Requires-Dist: Pillow; extra == "image"
  38. Dynamic: license-file
  39. pdfminer.six
  40. ============
  41. [![Continuous integration](https://github.com/pdfminer/pdfminer.six/actions/workflows/actions.yml/badge.svg)](https://github.com/pdfminer/pdfminer.six/actions/workflows/actions.yml)
  42. [![PyPI version](https://img.shields.io/pypi/v/pdfminer.six.svg)](https://pypi.python.org/pypi/pdfminer.six/)
  43. [![gitter](https://badges.gitter.im/pdfminer-six/Lobby.svg)](https://gitter.im/pdfminer-six/Lobby?utm_source=badge&utm_medium)
  44. *We fathom PDF*
  45. Pdfminer.six is a community maintained fork of the original PDFMiner. It is a tool for extracting information from PDF
  46. documents. It focuses on getting and analyzing text data. Pdfminer.six extracts the text from a page directly from the
  47. sourcecode of the PDF. It can also be used to get the exact location, font or color of the text.
  48. It is built in a modular way such that each component of pdfminer.six can be replaced easily. You can implement your own
  49. interpreter or rendering device that uses the power of pdfminer.six for other purposes than text analysis.
  50. Check out the full documentation on
  51. [Read the Docs](https://pdfminersix.readthedocs.io).
  52. Features
  53. --------
  54. * Written entirely in Python.
  55. * Parse, analyze, and convert PDF documents.
  56. * Extract content as text, images, html or [hOCR](https://en.wikipedia.org/wiki/HOCR).
  57. * Support for PDF-1.7 specification (well, almost).
  58. * Support for CJK languages and vertical writing.
  59. * Support for various font types (Type1, TrueType, Type3, and CID) support.
  60. * Support for extracting embedded images (JPG, PNG, TIFF, JBIG2, bitmaps).
  61. * Support for decoding various compressions (ASCIIHexDecode, ASCII85Decode, LZWDecode, FlateDecode, RunLengthDecode,
  62. CCITTFaxDecode)
  63. * Support for RC4 and AES encryption.
  64. * Support for AcroForm interactive form extraction.
  65. * Table of contents extraction.
  66. * Tagged contents extraction.
  67. * Automatic layout analysis.
  68. How to use
  69. ----------
  70. * Install Python 3.9 or newer.
  71. * Install pdfminer.six.
  72. ```bash
  73. pip install pdfminer.six
  74. * (Optionally) install extra dependencies for extracting images.
  75. ```bash
  76. pip install 'pdfminer.six[image]'
  77. * Use the command-line interface to extract text from pdf.
  78. ```bash
  79. pdf2txt.py example.pdf
  80. * Or use it with Python.
  81. ```python
  82. from pdfminer.high_level import extract_text
  83. text = extract_text("example.pdf")
  84. print(text)
  85. ```
  86. Contributing
  87. ------------
  88. Be sure to read the [contribution guidelines](https://github.com/pdfminer/pdfminer.six/blob/master/CONTRIBUTING.md).
  89. Acknowledgement
  90. ---------------
  91. This repository includes code from `pyHanko` ; the original license has been included [here](/docs/licenses/LICENSE.pyHanko).