Skip to main content

A set of utility classes and functions to process documents with Python

Project description

document-clipper

https://img.shields.io/pypi/v/document_clipper.svg https://img.shields.io/travis/reclamador/document_clipper.svg Documentation Status Updates https://coveralls.io/repos/github/reclamador/document_clipper/badge.svg?branch=master

A set of utility classes and functions to process documents with Python

Installation

The document_clipper package uses libraries that relies on several command-line tools included in the poppler-utils package such as: - pdftohtml - pdfimages - pftocairo

Before attempting to use document_clipper, please install the poppler-utils package.

For instance, in Ubuntu, you may do so by running the following command:

$ sudo apt-get install poppler-utils

Then, you may install document_clipper as usual via Python package managers, such as PIP:

$ pip install document_clipper

Features

  • Fetch the number of pages associated to a PDF file.

  • Extract the coordinates and dimensions of a given text located in a PDF file.

  • Combine multiple PDFs into a single PDF.

  • Combine multiple PDF and image files into a single PDF.

  • Generate a new PDF file containing a subset of a provided source PDF file’s pages. Rotations can be applied to each page individually.

  • Optionally fix the document(s) involved in the slicing/merging processes beforehand.

History

0.1.0 (2017-06-27)

  • First release on PyPI.

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

document_clipper-1.2.1.tar.gz (2.2 MB view details)

Uploaded Source

Built Distribution

document_clipper-1.2.1-py2.py3-none-any.whl (11.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file document_clipper-1.2.1.tar.gz.

File metadata

  • Download URL: document_clipper-1.2.1.tar.gz
  • Upload date:
  • Size: 2.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.0

File hashes

Hashes for document_clipper-1.2.1.tar.gz
Algorithm Hash digest
SHA256 e344db5920a4ac721a2a3fca38ed239e70fe4f095331e91f676c0b1a4bc6ec1f
MD5 f8e634617ca91b564fe91187f45c1219
BLAKE2b-256 b614646ead9ded1909ff19a97ced189120fcb2985c30f1fd0ba573615f742342

See more details on using hashes here.

File details

Details for the file document_clipper-1.2.1-py2.py3-none-any.whl.

File metadata

  • Download URL: document_clipper-1.2.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 11.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.0

File hashes

Hashes for document_clipper-1.2.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 0b3602ac979307ec488d12cadfd7c1a8fca7aa3e1cc811ddd50feaccf91c38a5
MD5 2991abe993ebfc527aea43073f189053
BLAKE2b-256 26cab9daec190ba203a8cc1dec0add12e06b3516e98bf681f72d9c19b3401dbd

See more details on using hashes here.

Supported by

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