Skip to main content

pdfextbook

Extract pages from PDF files on bookmark boundaries.

PDF bookmarks point to a single page, but all the pages starting from the one pointed to by the bookmark until the one pointed to by the next bookmark at the same hierarchical level (excluded) will be extracted.

Therefore this tool is useful to extract chapters or sections from books or articles.

It is more powerful than the "Extract Bookmarked Pages" tool of Adobe Acrobat (and it's also free).

You will need the following software present in your path:

  • pdftk (needed to extract bookmark metadata and to extract pages)
  • fzf (needed to select which bookmark to extract)

Release files for pdfextbook 0.0.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 pdfextbook 0.0.3
File Size Uploaded
pdfextbook-0.0.3.tar.gz 4.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pdfextbook 0.0.3
File Interpreter ABI Platform
pdfextbook-0.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 10.0 kB

Release files / pdfextbook-0.0.3.tar.gz

Download URL pdfextbook-0.0.3.tar.gz
Size 4.5 kB
Tags Source
SHA-256 checksum
How to use checksums
32d2ff3508f9e164ab8b731ca00f4ce82c83fd27e05e302edded8692e90b52a7
BLAKE2b-256 checksum
How to use checksums
fb2f95f43d7897fd610baeb14c297b132a79dc76c62e8e027d5fc857ecf1de85
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.12.7 Linux/6.11.2-arch1-1

Release files / pdfextbook-0.0.3-py3-none-any.whl

Download URL pdfextbook-0.0.3-py3-none-any.whl
Size 5.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7459d411939ee804bf1fe6c6c605c7dc44e614e04a013491f005c26d622e0d81
BLAKE2b-256 checksum
How to use checksums
91e52e353de91fe864e6596c2e77f1325b5296beb25ec8e1491f2feeef2573d6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.12.7 Linux/6.11.2-arch1-1

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 release files

0.0.2

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