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

Requirements

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

Installation

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.

Usage

The interface currently exposes the text extraction feature of PDFBox only:

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

Development

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

Author

See the included AUTHORS.rst file for more information.

License

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.

Source Distribution

python-pdfbox-0.1.1.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

python_pdfbox-0.1.1-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file python-pdfbox-0.1.1.tar.gz.

File metadata

  • Download URL: python-pdfbox-0.1.1.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for python-pdfbox-0.1.1.tar.gz
Algorithm Hash digest
SHA256 00e6e324b0ab1c07142cb3eedd23c55d43f334e2e8af827d1568d503a659ab8d
MD5 acafacc674cfb476276c4b7d5d6bf91e
BLAKE2b-256 40bf7dcdc326cfb4305ff6579bbfb250751404a36c854f4a9fadc3af4fd2d5a6

See more details on using hashes here.

File details

Details for the file python_pdfbox-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for python_pdfbox-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 515429f6198236382d211f454f6783c8534358a1b35c1180bcb8d5878ed80716
MD5 ab464662af5afe08e45993fe449c39e9
BLAKE2b-256 86841db8576b20cc116c00cb478de82c6c95f5e5a16bc1d8badbb8f31d8ab5d0

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