Skip to main content

PikePDF helper utilities

Project description

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")

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

pikepdf_annots-0.0.1.tar.gz (171.1 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page