Skip to main content

easytextract

PyPI-Status PyPI-Versions LICENCE

Easy to use text extractor, from PDF, DOC, DOCX and other documents, including if necessary using OCR (via Tesseract).

This library can extract text from any type supported by Textract.

This library only exists because of the awesome work of the Textract team and Tesseract.

Screenshot

It runs under Python 2.7 (it was not tested nor developped with compatibility with Python 3 in mind, although it might work with some slight changes).

INSTALL

In general, please refer to Textract documentation to install the appropriate softwares needed to extract text from the filetypes you need.

The rest of this section will describe the details for a basic setup.

PYTHON (all platforms: Linux, MacOSX, Windows)

To run Easytextract from Python, you need Python > 2.7 and to pip install textract.

Then install the following libraries to support the filetypes you want:

  • For PDF, pip install PDFMiner. To get additional features and better PDF extraction, you can install pdftotext, part of poppler or Xpdf.

  • For OCR, you need to install Tesseract >= 3.02 (but not 3.0 nor 4!) and pdftoppm.

  • For DOCX, pip install python-docx2txt.

  • For DOC, install antiword in the location on Windows: C:antiwordantiword.exe , for Linux and Mac you will need to change the path inside the script.

  • to support other types such as audio, see https://textract.readthedocs.io/en/stable/#currently-supporting

WINDOWS

By using the Windows binary (only for Windows 64-bits), PDF and DOCX are directly supported.

To enable OCR, and install tesseract >= v3.02 (not v4!) for your platform beforehand. You also need to install pdftoppm.exe.

For DOC support (not DOCX as it is already supported natively), you will also need antiword installed in C:antiwordantiword.exe.

LICENSE

easytextract was initially made by Stephen Larroque <LRQ3000> for the Coma Science Group - GIGA Consciousness - CHU de Liege, Belgium. The application is licensed under MIT License.

Release files for easytextract 1.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for easytextract 1.1.5
File Size Uploaded
easytextract-1.1.5.tar.gz 2.8 MB Details

Release files / easytextract-1.1.5.tar.gz

Download URL easytextract-1.1.5.tar.gz
Size 2.8 MB
Tags Source
SHA-256 checksum
How to use checksums
d94f74ba1f1db653d05c70097be43dea016184ef747144522b9d4c5682c9c9f2
BLAKE2b-256 checksum
How to use checksums
fb254417e03841cbc0fa4c716a2677ed64004dded0860df5487af2e1b36060be
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.1.5 This release

1 release file

1.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page