Skip to main content

PikePDF helper utilities

Helper utilities for editing PDFs using PikePDF.

Example usage

from pathlib import PosixPath
from pikepdf_annots import EditableForm, AnnotationMatcher

class ExampleForm(EditableForm):
    def _get_source_pdf(self) -> PosixPath:
        return PosixPath('source.pdf')

with ExampleForm() as pdf:
    pdf.update_annotation(0, AnnotationMatcher("First Name"), "Bob")
    pdf.update_annotation(0, AnnotationMatcher("Last Name"), "Smoth")

Release files for pikepdf-annots 0.0.1

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

Source distribution (sdist)

Source distribution for pikepdf-annots 0.0.1
File Size Uploaded
pikepdf_annots-0.0.1.tar.gz 171.1 kB Details

Release files / pikepdf_annots-0.0.1.tar.gz

Download URL pikepdf_annots-0.0.1.tar.gz
Size 171.1 kB
Tags Source
SHA-256 checksum
How to use checksums
0df8f705c98c197914dcc96e763fbadaeefc827896ff8090f3f520e1bcc21487
BLAKE2b-256 checksum
How to use checksums
627e1863f11fba616627c1f57410e4dbf2275ce6d9bb9fd4f826408487fe41c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5

Release history Release notifications | RSS feed

This release

0.0.1 This release

1 release file

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