Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

PDF Bookmark Adder

Project description

PDF Bookmark Adder


Automatically add bookmarks to pdf documents according to the given regex.

You have to go through a somewhat painful debugging process if you want every added bookmark is exactly what you want and never omit where you desire it to be added.


pip install pdfmark


  • PyPDF2, which can be installed via pip
  • pdftotext, which is available from the packages listed below
    • Fedora, poppler-utils
    • Arch, poppler


See samples.txt.

Also see this real world case, man2pdf,, for which this quick and dirty script was written.

And ./pdfmark --help.


Support heirarchical bookmarks.


See LICENSE.txt.

Project details

Download files

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

Files for pdfmark, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size pdfmark-0.2.0-py2.py3-none-any.whl (17.9 kB) File type Wheel Python version 3.6 Upload date Hashes View
Filename, size pdfmark-0.2.0.tar.gz (3.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page