Skip to main content

Python interface to Apache PDFBox command-line tools.

Project description

Package Description

Provides a simple Python 3 interface to the Apache PDFBox command-line tools.

Latest Version


Aside from Python 3 and those packages specified in, python-pdfbox requires java to be present in the system path.


The package may be installed as follows:

pip install python-pdfbox

One may specify the location of the PDFBox jar file via the PDFBOX environmental variable. If not set, python-pdfbox looks for the jar file in the platform-specific user cache directory and automatically downloads and caches it if not present.


The interface currently exposes only two features in PDFBox: text extraction and conversion to images:

import pdfbox
p = pdfbox.PDFBox()
text = p.extract_text('/path/to/my_file.pdf')


The latest release of the package may be obtained from GitHub.


See the included AUTHORS.rst file for more information.


This software is licensed under the Apache 2.0 License. See the included LICENSE.rst file for more information.

Project details

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
python_pdfbox-0.1.6-py3-none-any.whl (6.0 kB) Copy SHA256 hash SHA256 Wheel py3
python-pdfbox-0.1.6.tar.gz (81.0 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page