Skip to main content

pdf-duplex-prep

Merge multiple PDFs and split them into two print-ready files for manual duplex (double-sided) printing on simplex (one-sided) printers.

Each input PDF is guaranteed to start on an odd page. If needed, a blank page is automatically inserted so every document begins on the front of a fresh sheet.

Installation

pip install pdf-duplex-prep

Usage

# All PDFs in the current folder, sorted by name
pdf-duplex-prep --dir path/to/folder

# Explicit files in a specific order
pdf-duplex-prep doc1.pdf doc2.pdf doc3.pdf

Output

Two files are written to the input folder:

File Contents
print_1_odd.pdf Pages 1, 3, 5, … — print this first
print_2_even.pdf Even pages in reverse order — print this second

Printing instructions

  1. Print print_1_odd.pdf (all odd sides)

  2. Remove the stack from the output tray

  3. Flip the stack:

    • Printer outputs face-down → flip along the short edge
    • Printer outputs face-up → flip along the long edge

    Run a test with 4 pages first to confirm your printer's behaviour.

  4. Return the flipped stack to the input tray

  5. Print print_2_even.pdf (all even sides)

Metadata

Release files for pdf-duplex-prep 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pdf-duplex-prep 0.1.3
File Size Uploaded Provenance Actions
pdf_duplex_prep-0.1.3.tar.gz 15.1 kB With provenance Details for pdf_duplex_prep-0.1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pdf-duplex-prep 0.1.3
File Interpreter ABI Platform Actions
pdf_duplex_prep-0.1.3-py3-none-any.whl Python 3 none any Details for pdf_duplex_prep-0.1.3-py3-none-any.whl

Total release size: 20.1 kB

Release files / pdf_duplex_prep-0.1.3.tar.gz

Download URL pdf_duplex_prep-0.1.3.tar.gz
Size 15.1 kB
Tags Source
SHA-256 checksum
How to use checksums
48339b95dac9f11de4c8973e9106b7e3c902ea4c83bb786869397dc442af2583
BLAKE2b-256 checksum
How to use checksums
525aaa0f53d21720b973c73862ea20781f68feeeb9a287aa845a0cca20ef0884
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 28, 2026.

Transparency log

Release files / pdf_duplex_prep-0.1.3-py3-none-any.whl

Download URL pdf_duplex_prep-0.1.3-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9d0b14052106e0eb250a7c7e5e858b58da31eb7744144ecdab616fa30732c938
BLAKE2b-256 checksum
How to use checksums
7e6c18a07e07aca1e39f637de3a03de5a12a553033c3909f5d06e7a9acaf2955
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 28, 2026.

Transparency log

Security for pdf-duplex-prep 0.1.3

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pdf_duplex_prep-0.1.3.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 28, 2026.

Transparency log

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.

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