Skip to content

A pdf-to-txt-converter that converts multiple files in a specified directory.

Notifications You must be signed in to change notification settings

victoriamok/pdf2txt-converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PDF-TXT-converter

Small and simple pdf-to-txt converter that uses the pdfminer package.

Requirements

Python (3.6 or above)
PDFMiner

How to use:

1. Clone the repository

git clone https://github.com/victoriamok/pdf2txt-converter.git

2. Create a virtual environment (for MacOS or Linux)

python3 -m venv <name_of_virtualenv>

To activate your virtual environment, run

source <name_of_virtualenv>/bin/activate

3. Install the required packages

cd <name_of_virtualenv>
pip3 install -r requirements.txt

4. Run the script

python3 pdf2txt.py /your/path/to/pdf/files/ /your/path/to/txt/files/

About

A pdf-to-txt-converter that converts multiple files in a specified directory.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages