Skip to content

Repository files navigation

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

About

Helper utilities for pikepdf

Topics

Resources

Stars

3 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages