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
or:
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:
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
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
File details
Details for the file dummypdf-2.0.0.tar.gz
.
File metadata
- Download URL: dummypdf-2.0.0.tar.gz
- Upload date:
- Size: 41.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a3b5ab75ed4f8f7fbd288ca6df5bbb42c959a81c5026dea9ae46eb589ce5874 |
|
MD5 | 840eefe0a04d7eb9afb10bf2b201b380 |
|
BLAKE2b-256 | 864ee7444f6c5c0408e24a914ef7c5e779710d27f4ddb027fca740f6c0285ad8 |
File details
Details for the file dummypdf-2.0.0-py3-none-any.whl
.
File metadata
- Download URL: dummypdf-2.0.0-py3-none-any.whl
- Upload date:
- Size: 22.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91d031c197647bd01134e1414868e40b84c87ae4782cf1941dc81fef3f7e9f6c |
|
MD5 | 024e3332f3b0c848a349f903bcd48fff |
|
BLAKE2b-256 | d26e3a731d7ff7a1ee69e05b8256a0c7c1c0278a2fe33096873abc3eece12577 |