Check out my other PDF tools: pdfautonup | pdfimpose.
Paper size and number of pages are configurable. Files can be used to test pdf manipulation tools.
Examples :
One page A4 paper: example1.pdf:
dummypdf A4
Six pages, a third of an A4 paper: example2.pdf:
dummypdf -n 6 -p 21cmx99mm
or:
dummypdf 21cmx99mm:6
A pdf with different page formats: different.pdf:
dummypdf A4 A5:landscapewest
But why?
To develop or test PDF manipulating tools, I sometimes need to have files with a very specific size or number of pages. I can generate those files with this tool.
What’s new?
See changelog.
Download and install
See the end of list for a (quick and dirty) Debian package.
From sources:
Download: https://pypi.python.org/pypi/dummypdf
Install (in a virtualenv, if you do not want to mess with your distribution installation system):
python3 setup.py install
From pip:
pip install dummypdf
Quick and dirty Debian (and Ubuntu?) package
This requires stdeb to be installed:
python3 setup.py --command-packages=stdeb.command bdist_deb sudo dpkg -i deb_dist/dummypdf-<VERSION>_all.deb
Documentation
The compiled documentation is available on readthedocs
To compile it from source, download and run:
cd doc && make html
Release files for dummypdf 2.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dummypdf-2.1.1.tar.gz | 42.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dummypdf-2.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 65.1 kB
Release files / dummypdf-2.1.1.tar.gz
| Download URL | dummypdf-2.1.1.tar.gz |
|---|---|
| Size | 42.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4d41808f123bdcb381315cf30823c6432a0e13a36a4ed45e7768cc9d24a4f51c
|
|
BLAKE2b-256 checksum How to use checksums |
d950ac77cff21cee92dd5497f0657ac2b825347b7ae339b720bcbcd80aaa21f7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.9
|
Release files / dummypdf-2.1.1-py3-none-any.whl
| Download URL | dummypdf-2.1.1-py3-none-any.whl |
|---|---|
| Size | 23.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e02013461c7fbbc03f71137f7612edb759dcfa3856fd5d14484aa82b00947ebb
|
|
BLAKE2b-256 checksum How to use checksums |
e83ef453bb40532596bceb139d1d544c1a23a2863f922817ea18f94324fa5ce8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.9
|