Skip to main content

pdfmark - One Of My Most Initial Python Projects

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.

Release files for pdfmark 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pdfmark 0.2.0
File Size Uploaded
pdfmark-0.2.0.tar.gz 3.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pdfmark 0.2.0
File Interpreter ABI Platform
pdfmark-0.2.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 21.7 kB

Release files / pdfmark-0.2.0.tar.gz

Download URL pdfmark-0.2.0.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
dcf06e844c462fa3bb5faae37539215a901461e543864836fabb7f2407bc8e79
BLAKE2b-256 checksum
How to use checksums
fa6bb4c311a2fbb34dfa57f40f6ae0cddf713a414a371f8a5f96bd3b9debeda2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/3.6

Release files / pdfmark-0.2.0-py2.py3-none-any.whl

Download URL pdfmark-0.2.0-py2.py3-none-any.whl
Size 17.9 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
603bff6170ad88dcbd14f6e577eae88e9e339e3787ce455eee35c2b379b62f68
BLAKE2b-256 checksum
How to use checksums
6c90db98cb877b8dd2a8b6b6c6a7e9ef75d679ab2eced8a179b9a2b01b2bbac1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/3.6

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.0

1 release file

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