A user-friendly PDF generation tool built with Python and Tkinter. Supports customizable pages, watermarks, text placement, color modes, and now allows setting a target PDF file size. Ideal for automating batch PDF creation with flexible options.
Project description
PDF Generator
A Python application to generate multiple PDF files with custom text, watermarks, and size control.
Features
- Generate multiple PDF files in bulk
- Customize number of pages per PDF
- Add custom text to each page
- Insert watermark images (PNG/JPG)
- Control text placement (default or custom coordinates)
- Choose between color or black & white watermarks
- Set desired PDF file size (in KB)
- Progress bar to track generation
- Single instance enforcement (prevents multiple runs)
Screenshots
System Requirements
- Python 3.6 or higher
- Windows, macOS, or Linux
Installation
1. Create and Activate Virtual Environment
Windows:
python -m venv pdf
pdf\Scripts\activate
macOS/Linux:
python3 -m venv pdf
source pdf/bin/activate
2. Install Dependencies
pip install -r requirements.txt
3. Run the application:
python PDF_Generator_v2.1.py
4. Fill in the fields:
-
Select output folder
-
Enter number of pages per PDF
-
Enter number of PDFs to generate
-
Add custom text (optional)
-
Select watermark image (optional)
-
Choose text alignment (default or custom coordinates) (optional)
-
Select watermark type (color or black & white) (optional)
-
Set desired PDF size in KB (optional)
Click "Generate PDFs" button
Notes
-
Maximum allowed pages/PDFs: 100,000
-
Application requires admin privileges on Windows
-
Only one instance can run at a time
-
Default text position is Center of the PDF coordinates
-
Watermark transparency is set to 20%
Version
Current version: 2.1
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pdf_generator_aniket-2.1.1.tar.gz.
File metadata
- Download URL: pdf_generator_aniket-2.1.1.tar.gz
- Upload date:
- Size: 13.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ee98298a5491a5498cdd2a5bfe11490929ca54477fa9015f3de8d5c946735cb4
|
|
| MD5 |
511e97cef3296e0b247be045c2c12890
|
|
| BLAKE2b-256 |
72c6237c7d840331d27f4374076b055a76712c6d4b54c72eac70720b5d97c42e
|
File details
Details for the file pdf_generator_aniket-2.1.1-py3-none-any.whl.
File metadata
- Download URL: pdf_generator_aniket-2.1.1-py3-none-any.whl
- Upload date:
- Size: 12.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
104ad952d752091c632fb54b6048714b560454cc17137f4a17d9b19a12f98ada
|
|
| MD5 |
3c00eb0e63cf17c927f19f9df6dbdf5c
|
|
| BLAKE2b-256 |
7a90edca16221f46d9b35ed6a236ba1c47c4ad1cbea753368bac93bc8fcf2c8e
|