Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

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.

Metadata

Release files for a4pdf 0.2.0

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

Source distribution (sdist)

Source distribution for a4pdf 0.2.0
File Size Uploaded
a4pdf-0.2.0.tar.gz 636.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for a4pdf 0.2.0
File Interpreter ABI Platform
a4pdf-0.2.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details

Total release size: 3.3 MB

Release files / a4pdf-0.2.0.tar.gz

Download URL a4pdf-0.2.0.tar.gz
Size 636.0 kB
Tags Source
SHA-256 checksum
How to use checksums
203140e09803e04e61581f4cffa3b756c7eefb5f81448d80609b1a3fba28c5a2
BLAKE2b-256 checksum
How to use checksums
9a300989b097094b677a390e204add260051022f14d23a13eb6cb269d8621d4b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.4

Release files / a4pdf-0.2.0-py3-none-win_amd64.whl

Download URL a4pdf-0.2.0-py3-none-win_amd64.whl
Size 2.6 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
594815acaa8bf999c3d89a0b22416435d73e4d4c2ea68778a217f8acf4a427c9
BLAKE2b-256 checksum
How to use checksums
f746dca19b53e3646c2b6e9f385cabfbbaf0a4cfd26e4a984d475dd18eb7842b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.4

Release history Release notifications | RSS feed

This release

0.2.0 This release

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