extractpdf

A tool to extract text from PDF files.


Keywords
pdf, pdf-converter, python, python-library, python3
License
MIT
Install
pip install extractpdf==0.0.4

Documentation

extractpdf

A python package focused on extracting content out of PDF files.

There seems to be many options out there, but no single solution that is easy to install, even on Windows, and focus specifically on PDF files. So we have created this extractpdf package.

It is based on Textract structure, but focuses on PDF only, and adds also other tools to the pipline, such as PyPDF2 and Camelot.

Usage:

To use this package, install it from pypi using:

pip install extractpdf

Then use it like so:

import extractpdf as epdf

epdf.process('my_file.pdf')
epdf.process('http://www.example.com/some_file.pdf')

Development

We welcome contributers warmly!

For running this project locally, you need first to install the dependency packages. To install them, you can use pipenv:

Installation using pipenv (which combines virtualenv with pip)

Install pipenv

# if you haven't installed pip
sudo easy_install pip

# install pipenv
pip install pipenv

On MacOS - you can use homebrew:

brew install pipenv

Set the pipenv to be local in the project and then, install the packages and run the server

set PIPENV_VENV_IN_PROJECT=true 

 # install all packages
pipenv install