Skip to main content

TOC PDF Merge

Tool to merge multiple PDFs into one, generating a table of contents. Requires pdflatex.

Installation

pip install toc-pdf-merge

Usage

from toc_pdf_merge import PDFMerger, IncludePDF

pm = PDFMerger()
pm.add_pdf(IncludePDF('cover1.pdf', 'Part 1'))
pm.add_pdf(IncludePDF('content1.pdf'))
pm.add_pdf(IncludePDF('cover2.pdf', 'Part 2'))
pm.add_pdf(IncludePDF('content2.pdf'))
pm.add_pdf(IncludePDF('content3.pdf', 'Content 3'))
pm.make('toc', destination_folder='.')

Metadata

Release files for toc-pdf-merge 0.1.0

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

Source distribution (sdist)

Source distribution for toc-pdf-merge 0.1.0
File Size Uploaded
toc_pdf_merge-0.1.0.tar.gz 3.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for toc-pdf-merge 0.1.0
File Interpreter ABI Platform
toc_pdf_merge-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.2 kB

Release files / toc_pdf_merge-0.1.0.tar.gz

Download URL toc_pdf_merge-0.1.0.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
d1809b263227bec50959626023f3515f0c0ea60bb4e77367066d4fd8cce88923
BLAKE2b-256 checksum
How to use checksums
92ed22232b8b0465c512d426d893433bba9c4074c04bdcab60f1826180220740
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.10.6 {"installer":{"name":"uv","version":"0.10.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / toc_pdf_merge-0.1.0-py3-none-any.whl

Download URL toc_pdf_merge-0.1.0-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ebf6842f805dcb2c1b5ad32c86f09a9b537a3178cd5227e14e26f07e54914e7e
BLAKE2b-256 checksum
How to use checksums
93fb32096d41ff386604022050d745249928ac4fe60acc2889773bff3d2fe160
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.10.6 {"installer":{"name":"uv","version":"0.10.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

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