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.

Metadata

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 Provenance Actions
pdfmark-0.2.0.tar.gz 3.8 kB Without provenance Details for pdfmark-0.2.0.tar.gz

Built distribution (wheel)

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

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

Security for pdfmark 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files No provenance

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