Skip to main content

A color managed PDF generation library tech preview

Project description

A4PDF

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


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.3.0.tar.gz (636.3 kB view details)

Uploaded Source

Built Distribution

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

capypdf-0.3.0-py3-none-win_amd64.whl (2.6 MB view details)

Uploaded Python 3Windows x86-64

File details

Details for the file capypdf-0.3.0.tar.gz.

File metadata

  • Download URL: capypdf-0.3.0.tar.gz
  • Upload date:
  • Size: 636.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.4

File hashes

Hashes for capypdf-0.3.0.tar.gz
Algorithm Hash digest
SHA256 53feb9c986a318ca2726a8d4ef1f14e35e337e68eb28c1b16ab99be5009591dc
MD5 44ea1b3a6c10b54367e59a48978af1c3
BLAKE2b-256 54d30df16aa8ee15f72cf253b003da3dc6af8e374e2825f7d4679d01100bcdc5

See more details on using hashes here.

File details

Details for the file capypdf-0.3.0-py3-none-win_amd64.whl.

File metadata

  • Download URL: capypdf-0.3.0-py3-none-win_amd64.whl
  • Upload date:
  • Size: 2.6 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.4

File hashes

Hashes for capypdf-0.3.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 15ff3500201d48f83f49c9ce77474cb8ccc951618d6b3fed9d0a22fa2fc8928d
MD5 65bba966cf920de1e9e9682881ed4874
BLAKE2b-256 f90acf7100afe878305f2236ad9a27bdf12c07a4f95530597fd841a06e82ab6f

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