A color managed PDF generation library tech preview
Project description
CapyPDF
This is a library for generating PDF files. It aims to be very low level. It does not have its own document model, it merely exposes PDF primitives directly.
Features
- Fully color managed using LittleCMS 2
- All fonts are embedded as subsets
- Not implemented in C
- Provides a plain C API for easy integration into scripting languages
- Ships with a
ctypes
Python binding - Minimal dependencies
Things the library does not do
- Reading PDF files
- Modifying PDF files
- Supporting any other backend than PDF
- Parsing any vector data files like SVG
- Data conversions in general (apart from colorspaces)
- Supporting PDF versions earlier than 1.7
API stability guarantees
Until 1.0 there is no guarantee of any kind. Anything can be changed. However we try not to change things without a good reason. Once 1.0 happens, we aim to provide the following:
- The plain C is both API and ABI stable
- The internal C++ implementation "API" is not stable in any way
- Only C symbols are exported so in order to get to the C++ API you have to change build settings. If you do that, there is no stability guarantee.
- The Python API shall be stable as well
Status
The basic functionality is there but it's not even close to feature complete.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
capypdf-0.6.0.tar.gz
(6.4 MB
view hashes)
Built Distributions
Close
Hashes for capypdf-0.6.0-py3-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5fff617d1caddd59a9d436dd0211c44f5da8485c4484d0de776df199dc792372 |
|
MD5 | 61df9fed9d2813fba5ad78b405ef6530 |
|
BLAKE2b-256 | 39b59d719aeafb121de386dc6ac324004547d897e8431503b3df048705de361b |
Close
Hashes for capypdf-0.6.0-py3-none-macosx_14_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 445ca17e77d4ebcf29f0ae76e9c0c874e7be98f0146129c09741850af2410421 |
|
MD5 | aca6b0e43dcbfce51903389ea9ea5a7f |
|
BLAKE2b-256 | e69f2fbd30da3c756eb86bb5b04a0f86eed09ffac6034f4080e1704b06e95312 |