PDF Stamper
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.
Metadata
Release files for pdf-stamper 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pdf_stamper-0.1.0.tar.gz | 6.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pdf_stamper-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.8 kB
Release files / pdf_stamper-0.1.0.tar.gz
| Download URL | pdf_stamper-0.1.0.tar.gz |
|---|---|
| Size | 6.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f40bf596306eeec70fc3537b9ba88181c82ea1137416d93a7716adb7100e5df2
|
|
BLAKE2b-256 checksum How to use checksums |
d2dfad5f491b3c8d06ab0ceacceac75a69e5f95c7109acc90870c9f615aad672
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Release files / pdf_stamper-0.1.0-py3-none-any.whl
| Download URL | pdf_stamper-0.1.0-py3-none-any.whl |
|---|---|
| Size | 6.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
526508e86a4716331c793a8dde5071870f9f0d508573b576b2c3fe6b0478fed9
|
|
BLAKE2b-256 checksum How to use checksums |
e5dfaf1d96248a73960e31d10f029e4b278787375694e3ed25679707b532851e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|