Skip to main content

PDF Bookmark Adder

Project description

https://img.shields.io/pypi/v/pdfmark.svg

PDF Bookmark Adder

Official Mirrors

Features

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.

Installation

pip install pdfmark

Dependencies

  • PyPDF2, which can be installed via pip

  • pdftotext, which is available from the packages listed below

    • Fedora, poppler-utils

    • Arch, poppler

Usage

See samples.txt.

Also see this real world case, man2pdf, https://github.com/NoviceLive/man2pdf, for which this quick and dirty script was written.

And ./pdfmark --help.

TODO

Support heirarchical bookmarks.

License

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.

Source Distribution

pdfmark-0.2.0.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

pdfmark-0.2.0-py2.py3-none-any.whl (17.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file pdfmark-0.2.0.tar.gz.

File metadata

  • Download URL: pdfmark-0.2.0.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.6

File hashes

Hashes for pdfmark-0.2.0.tar.gz
Algorithm Hash digest
SHA256 dcf06e844c462fa3bb5faae37539215a901461e543864836fabb7f2407bc8e79
MD5 74235ae17ca1b57f785c1f760de84589
BLAKE2b-256 fa6bb4c311a2fbb34dfa57f40f6ae0cddf713a414a371f8a5f96bd3b9debeda2

See more details on using hashes here.

File details

Details for the file pdfmark-0.2.0-py2.py3-none-any.whl.

File metadata

  • Download URL: pdfmark-0.2.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 17.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.6

File hashes

Hashes for pdfmark-0.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 603bff6170ad88dcbd14f6e577eae88e9e339e3787ce455eee35c2b379b62f68
MD5 8661dd2c0d621e61565e984e417c8172
BLAKE2b-256 6c90db98cb877b8dd2a8b6b6c6a7e9ef75d679ab2eced8a179b9a2b01b2bbac1

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