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

Uploaded Source

File details

Details for the file pikepdf_annots-0.0.1.tar.gz.

File metadata

  • Download URL: pikepdf_annots-0.0.1.tar.gz
  • Upload date:
  • Size: 171.1 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for pikepdf_annots-0.0.1.tar.gz
Algorithm Hash digest
SHA256 0df8f705c98c197914dcc96e763fbadaeefc827896ff8090f3f520e1bcc21487
MD5 5b342fb1aa1f530ae5af6ef76e84f6c3
BLAKE2b-256 627e1863f11fba616627c1f57410e4dbf2275ce6d9bb9fd4f826408487fe41c2

See more details on using hashes here.

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