Skip to main content

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>

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

xpdf_python-0.0.10.tar.gz (3.8 kB view details)

Uploaded Source

File details

Details for the file xpdf_python-0.0.10.tar.gz.

File metadata

  • Download URL: xpdf_python-0.0.10.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for xpdf_python-0.0.10.tar.gz
Algorithm Hash digest
SHA256 60be827f972d0d5eb0866a6ea828e8405968b1882973726d2f93c15ebc0ee13a
MD5 ad3193f1f8dc7eba97f6cf96145aa84f
BLAKE2b-256 60dc2fe816b1a8358850d5e70b6c82609713c9f50603b459b0166985e099d17b

See more details on using hashes here.

Supported by

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