Skip to main content

A simple tool for text extraction from pdf, epub, txt, and docx files

Project description

extractText

A simple tool for extracting text from PDF, EPUB, TXT, and DOCX files. This library was primarily developed for personal use in various NLP-related projects.

Installation

Install text-extra using pip:

pip install text-extra

Usage

from text_extractor import extract_text

file_path = "path/to/your/file.pdf"
extracted_text = extract_text(file_path)
print(extracted_text)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

text-extra-0.1.3.tar.gz (41.4 kB view hashes)

Uploaded Source

Built Distribution

text_extra-0.1.3-py3-none-any.whl (28.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page