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.2.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pdfextbook-0.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 405607a211f2cbb4712b8abd6f4185344d55d6ba00761775d37a85dd6da4317b
MD5 5dd894c7b94e95da862b6a4952097265
BLAKE2b-256 30b0cd00c7bd0ed968579dac69c102e72d5d7f1cae52986aee2bf6df3c13ccf0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pdfextbook-0.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8024a5aa5fe101585d4c50400c23ced82aaf4d4fb7de8cba156b3570e02c1256
MD5 c7a87f36333a36fcbca46c8760b067a7
BLAKE2b-256 f89034c7815b36c3caa9cd2cb0373cdfa68e03d71e1e4e009de0edf6c7f2adb9

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