Skip to main content

Generate dummy pdf files with configurable paper size and number of pages.

Project description

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


    dummypdf 21cmx99mm:6

  • A pdf with different page formats: different.pdf:

    dummypdf A4 A5:landscapewest

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 --command-packages=stdeb.command bdist_deb
    sudo dpkg -i deb_dist/dummypdf-<VERSION>_all.deb


  • The compiled documentation is available on readthedocs

  • To compile it from source, download and run:

    cd doc && make html

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dummypdf-2.0.0.tar.gz (41.5 kB view hashes)

Uploaded Source

Built Distribution

dummypdf-2.0.0-py3-none-any.whl (22.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page