Skip to main content

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

Metadata

Release files for pycpdflib 2.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pycpdflib 2.5
File Size Uploaded
pycpdflib-2.5.tar.gz 18.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pycpdflib 2.5
File Interpreter ABI Platform
pycpdflib-2.5-py3-none-any.whl Python 3 none any Details

Total release size: 36.3 kB

Release files / pycpdflib-2.5.tar.gz

Download URL pycpdflib-2.5.tar.gz
Size 18.6 kB
Tags Source
SHA-256 checksum
How to use checksums
62a927e887ae3b4d4833f261871c6ee009328bf7ccf256d4f98d659fb9ec86c7
BLAKE2b-256 checksum
How to use checksums
a7997dc32b84c2808dec02108273304b99ba08befc7d43e7a7c8a54214e33917
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.0.1 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.2

Release files / pycpdflib-2.5-py3-none-any.whl

Download URL pycpdflib-2.5-py3-none-any.whl
Size 17.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cbe198a8beb1754e7a1df261c9a4406076effb04680709bca5922f581cc667b7
BLAKE2b-256 checksum
How to use checksums
1f1d5bbdcc30c372bad62f065ebd13f0a187687a165478727163071ecd818a3f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.0.1 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.2

Release history Release notifications | RSS feed

This release

2.5 This release

2 release files

2.4

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page