Skip to main content

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:

  • 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)

Source distribution for dummypdf 2.1.1
File Size Uploaded
dummypdf-2.1.1.tar.gz 42.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dummypdf 2.1.1
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

2.1.1 This release

2 release files

2.1.0

2 release files

2.0.0

2 release files

1.4.0

2 release files

1.3.0

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.0

2 release files

0.3.0

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page