Skip to main content

A PDF-to-text converter based on pdfminer2

Project description

docs

Documentation Status

tests

Travis-CI Build Status

package

PyPI Package latest release Supported versions Supported implementations

license

CocoaPods

pdf2textbox

A PDF-to-text converter based on pdfminer2 (which is based on pdfminer.six which is based on pdfminer). Converts PDF files with up to 3 columns and a header (optional) to text and avoids most caveats that multi-columned PDF files have in store for PDF conversion.

Features

Convert PDF to text in the original order. This works well for PDF-files without tables, graphs, and other stuff.

Allows command line parameter -s (–slice) to indicate that only part of the PDF document is of interest. Start and end page will then be either retreived from the document’s name using ‘_’ or ‘|’ as delimiters or - if start and end page cannot be found - user input is requested.

Installation

pip install pdf2textbox

Contribute

Support

Feel free to fork and improve.

Warranty

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

License

MIT License

Copyright (c) 2018 Oliver Stapel

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

pdf2textbox-0.4.1.tar.gz (21.9 MB view details)

Uploaded Source

Built Distribution

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

pdf2textbox-0.4.1-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

Details for the file pdf2textbox-0.4.1.tar.gz.

File metadata

  • Download URL: pdf2textbox-0.4.1.tar.gz
  • Upload date:
  • Size: 21.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.3

File hashes

Hashes for pdf2textbox-0.4.1.tar.gz
Algorithm Hash digest
SHA256 0e0217a6d0f3be823cfa6e25f8f9de55913bd1c3b478ac4a3e42b3d3e3b30877
MD5 3343b5e7d2893418de25c26e5be0f239
BLAKE2b-256 450373823960af96ece31737c10c593af7e8a0e8e47dc52b1421528bd2d8bfa2

See more details on using hashes here.

File details

Details for the file pdf2textbox-0.4.1-py3-none-any.whl.

File metadata

  • Download URL: pdf2textbox-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 9.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.3

File hashes

Hashes for pdf2textbox-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4d35f324dd934961fdd225e2a791eb6b1eca98baa11f28f70ad2b9d99a3c404c
MD5 b6592fa8ea4d7122ac7221fecbd04891
BLAKE2b-256 874908d6edb912bf702f14f09a16fb4de1b0279bf388a63eb1ddbd1c7e97bec6

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