pbc
Impose a PDF into a cut-stack layout for A4 booklet printing. Pairs pages in opposite halves of the document onto landscape A4 sheets with a spine gutter, and draws a dashed center cut/fold line on each sheet.
Install
Requires Python 3.9+. The PyPI project is named book-printing-pbc (the
command is pbc; the bare name pbc is taken on PyPI by an unrelated
project).
PyPI (pip / pipx)
pip install book-printing-pbc
# or, isolated:
pipx install book-printing-pbc
The pbc command will then be on your PATH.
Arch Linux (AUR, system-wide)
A PKGBUILD is provided in packaging/aur/PKGBUILD. It builds the PyPI
package and installs the pbc binary into /usr/bin:
cd packaging/aur
makepkg -si # build + install with pacman
# or, once published to the AUR:
# yay -S python-book-printing-pbc
Installing this way puts pbc on your system PATH for all users, with no venv.
Usage
pbc input.pdf [-o output.pdf] [-g gutter_mm]
input(required): PDF to impose.-o, --output: output path (defaultcut_stack_output.pdf).-g, --gutter: spine gutter in millimeters (default12).
Example
pbc my_book.pdf -o print_ready.pdf
Each output sheet holds two source pages side by side on a landscape A4 page, with the second half of the book mapped behind the first for cut-and-stack collation. The dashed vertical line marks the fold/cut position.
perfect-binding-converter
Metadata
Release files for book-printing-pbc 0.1.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 |
|---|---|---|---|---|
| book_printing_pbc-0.1.0.tar.gz | 4.1 kB | Without provenance | Details for book_printing_pbc-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| book_printing_pbc-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for book_printing_pbc-0.1.0-py3-none-any.whl |
Total release size: 9.1 kB
Release files / book_printing_pbc-0.1.0.tar.gz
| Download URL | book_printing_pbc-0.1.0.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e70a98ca44d5368a939094ba75d34fb39bbd596aeb1db03ead318819a76962f9
|
|
BLAKE2b-256 checksum How to use checksums |
f8ceea3b09f1c54c7d6b9a0c5bd70b25f62df6093b82561191093651a1513b3e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / book_printing_pbc-0.1.0-py3-none-any.whl
| Download URL | book_printing_pbc-0.1.0-py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9ad269e7e703acb2e379ade3be28f1867c7694976d6cdea6c5cf927e251b72c1
|
|
BLAKE2b-256 checksum How to use checksums |
b47d6f30945cb81f8f70307e0f82f5a2fce0fbfe3c5a7d9ff857e091b4515f52
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Security for book-printing-pbc 0.1.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.