Python wrapper for xpdf
Project description
xpdf python
===============================
version number: 0.0.10
author: Edward Atkins
python >= 3.4
Overview
--------
Python wrapper for xpdf (currently just the "pdftotext" utility)
Installation / Usage
--------------------
To install using pip from pypi:
$ pip install xpdf_python
To install using pip from github:
$ pip install git+https://github.com:/ecatkins/xpdf_python
Or clone the repo:
$ git clone https://github.com/ecatkins/xpdf_python.git
$ python setup.py install
The package will attempt to automatically install xpdf. If this fails use either:
1. Instructions for your OS found [here](http://www.foolabs.com/xpdf/download.html) OR
2. The bash scripts found in this repo's install_xpdf subdirectory
Operating Systems
------------
macOS, Linux
Note: For Linux you may need to install the libxp6 library:
sudo apt install libxp6 (Ubuntu)
sudo yum install libXp.so.6 (Centos)
Example
-------
from xpdf_python import to_text
pdf_location = '/path/to/my.pdf'
text = to_text(pdf_location)
Supported by
------------
<a href = "http://dealstatrei.com"><img src="dealstat-logo.png" width="100"> </a>
===============================
version number: 0.0.10
author: Edward Atkins
python >= 3.4
Overview
--------
Python wrapper for xpdf (currently just the "pdftotext" utility)
Installation / Usage
--------------------
To install using pip from pypi:
$ pip install xpdf_python
To install using pip from github:
$ pip install git+https://github.com:/ecatkins/xpdf_python
Or clone the repo:
$ git clone https://github.com/ecatkins/xpdf_python.git
$ python setup.py install
The package will attempt to automatically install xpdf. If this fails use either:
1. Instructions for your OS found [here](http://www.foolabs.com/xpdf/download.html) OR
2. The bash scripts found in this repo's install_xpdf subdirectory
Operating Systems
------------
macOS, Linux
Note: For Linux you may need to install the libxp6 library:
sudo apt install libxp6 (Ubuntu)
sudo yum install libXp.so.6 (Centos)
Example
-------
from xpdf_python import to_text
pdf_location = '/path/to/my.pdf'
text = to_text(pdf_location)
Supported by
------------
<a href = "http://dealstatrei.com"><img src="dealstat-logo.png" width="100"> </a>
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
xpdf_python-0.0.10.tar.gz
(3.8 kB
view hashes)