dummypdf 🥼 Generate dummy pdf files
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
Metadata
Release files for dummypdf 2.2.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 | Provenance | Actions |
|---|---|---|---|---|
| dummypdf-2.2.0.tar.gz | 42.6 kB | Without provenance | Details for dummypdf-2.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dummypdf-2.2.0-py3-none-any.whl | Python 3 | none | any | Details for dummypdf-2.2.0-py3-none-any.whl |
Total release size: 65.8 kB
Release files / dummypdf-2.2.0.tar.gz
| Download URL | dummypdf-2.2.0.tar.gz |
|---|---|
| Size | 42.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3f35a4b08883fb07f331a72ecc3a3dd2679a44883c5bed11e9bcdd15864ed881
|
|
BLAKE2b-256 checksum How to use checksums |
a4fb0b8b06ca7dd81205de86152e538f0b17551f9b8d13e5338ef34f26970666
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.8
|
Release files / dummypdf-2.2.0-py3-none-any.whl
| Download URL | dummypdf-2.2.0-py3-none-any.whl |
|---|---|
| Size | 23.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ebd11046b6afa130a32ce1589a89a727f20a10fb97175545d2d95ceb5650bdfa
|
|
BLAKE2b-256 checksum How to use checksums |
5542e939de5a329910889ca004e3c8651c57d94e81a76774ac88abc4b480dc62
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.8
|
Security for dummypdf 2.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.