Skip to main content

Python interface to Coherent PDF Tools

Project description

pycpdflib

pycpdflib is a Python interface to the cpdf pdf tools. More information, including commercial licenses can be found at https://www.coherentpdf.com/

The non-commercial home of pycpdf is http://community.coherentpdf.com/

Functionality

  • Quality Split and Merge, keeping bookmarks. Extract pages. Split on Bookmarks.
  • Encrypt and Decrypt (including AES 128 and AES 256 encryption)
  • Scale, rotate, crop and flip pages. Scale pages to fit
  • Copy, Remove and Add bookmarks
  • Stamp logos, watermarks, page numbers and multiline text. Transparency.
  • Supports Unicode UTF8 text input and output
  • Put multiple pages on a single page
  • List, copy, or remove annotations
  • Read and set document information and metadata
  • Add and remove file attachments to document or page.
  • Thicken hairlines, blacken text, make draft documents
  • Reconstruct malformed files
  • Detect missing fonts, low resolution images

Obtaining the DLLs

The DLLs pycpdflib and cpdflib are required. They are free for non-commercial use. Commercial use requires a license. The DLLs can be obtained here:

https://github.com/coherentgraphics/cpdflib-binary

Documentation

Full manual (required reading): https://coherentpdf.com/pycpdflibmanual.pdf

Follow the instructions at the end of Chapter 1 to load the DLLs and write your first pycpdf program.

Quick reference API docs: https://python-libcpdf.readthedocs.io/en/latest/

Contact

mailto:contact@coherentgraphics.co.uk

Bug report: https://github.com/coherentgraphics/python-libcpdf

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

pycpdflib-2.5.tar.gz (18.6 kB view hashes)

Uploaded Source

Built Distribution

pycpdflib-2.5-py3-none-any.whl (17.7 kB view hashes)

Uploaded Python 3

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