Skip to main content

A Python library for stamping PDF files with sequential numbers or custom text

Project description

PDF Stamper

Python License: MIT PyPI version

A Python library and cli for stamping PDF files with sequential numbers or custom text overlays.

Features

  • Stamp PDF files with custom text
  • Generate multiple numbered copies of PDFs
  • Customizable font, size, and positioning
  • Memory-efficient processing using streams
  • Command-line interface for batch operations
  • Clean, object-oriented API

Installation

pip install pdf-stamper

Or install from source:

git clone https://github.com/MateusMolina/pdf-stamper.git
cd pdf-stamper
pip install -e .

Quick Start

# Stamp a PDF with sequential numbers (Copy-1, Copy-2, ..., Copy-5)
pdf-stamper input.pdf --copies 5 --prefix "Copy-" --output-dir ./output --position top-right

# Custom positioning and formatting
pdf-stamper input.pdf --copies 10 --x 100 --y 750 --font-size 14

License

MIT License - see LICENSE file for details.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

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

pdf_stamper-0.1.0.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pdf_stamper-0.1.0-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file pdf_stamper-0.1.0.tar.gz.

File metadata

  • Download URL: pdf_stamper-0.1.0.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for pdf_stamper-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f40bf596306eeec70fc3537b9ba88181c82ea1137416d93a7716adb7100e5df2
MD5 3691029bfd2ae30772bb41b9299cefe0
BLAKE2b-256 d2dfad5f491b3c8d06ab0ceacceac75a69e5f95c7109acc90870c9f615aad672

See more details on using hashes here.

File details

Details for the file pdf_stamper-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pdf_stamper-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for pdf_stamper-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 526508e86a4716331c793a8dde5071870f9f0d508573b576b2c3fe6b0478fed9
MD5 367d3154187df2df0e58ee5aedacf3b5
BLAKE2b-256 e5dfaf1d96248a73960e31d10f029e4b278787375694e3ed25679707b532851e

See more details on using hashes here.

Supported by

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