Skip to main content

Extract pages from PDF on bookmark boundaries.

Project description

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)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pdfextbook-0.0.3.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

pdfextbook-0.0.3-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file pdfextbook-0.0.3.tar.gz.

File metadata

  • Download URL: pdfextbook-0.0.3.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.7 Linux/6.11.2-arch1-1

File hashes

Hashes for pdfextbook-0.0.3.tar.gz
Algorithm Hash digest
SHA256 32d2ff3508f9e164ab8b731ca00f4ce82c83fd27e05e302edded8692e90b52a7
MD5 2a78e433f140b7f4a772358141e99e95
BLAKE2b-256 fb2f95f43d7897fd610baeb14c297b132a79dc76c62e8e027d5fc857ecf1de85

See more details on using hashes here.

File details

Details for the file pdfextbook-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: pdfextbook-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.7 Linux/6.11.2-arch1-1

File hashes

Hashes for pdfextbook-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 7459d411939ee804bf1fe6c6c605c7dc44e614e04a013491f005c26d622e0d81
MD5 76d9f80d72efe0e87d4eee368def458a
BLAKE2b-256 91e52e353de91fe864e6596c2e77f1325b5296beb25ec8e1491f2feeef2573d6

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page