Skip to main content

PDFGEARS

A collection of Python tools for working with PDF files.

Distributed on PyPI as pdfgears; the importable package is pdfgears.

Installation

pip install pdfgears

Features

  • rmbmk: Remove PDF bookmarks (outline entries) whose title consists only of Arabic numerals (e.g. "1", "2.", "10"), while preserving the links/destinations of the remaining bookmarks.

Usage

Command-line

# List all available commands
pdfgears-info

# Remove numeric-only bookmarks, overwriting the input (keeps a .bak backup)
rmbmk -i input.pdf

# Remove numeric-only bookmarks, writing to a new file
rmbmk -i input.pdf -o output.pdf

# Process every PDF matched by the shell glob
rmbmk -i *.pdf

Python API

from pdfgears import rmbmk

# Remove numeric-only bookmarks from a PDF
rmbmk.remove_numeric_bookmarks("input.pdf", output_path="output.pdf")

Notes

  • rmbmk automatically creates a .bak backup of the original file whenever it overwrites it in place (i.e. when -o/--output is omitted).
  • -o/--output can only be used with a single -i input file.

Metadata

Release files for pdfgears 0.1.1

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

Source distribution (sdist)

Source distribution for pdfgears 0.1.1
File Size Uploaded
pdfgears-0.1.1.tar.gz 5.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pdfgears 0.1.1
File Interpreter ABI Platform
pdfgears-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 12.0 kB

Release files / pdfgears-0.1.1.tar.gz

Download URL pdfgears-0.1.1.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
ffbfa6fc67e4c8684b848a74af0e9591b05d6f2adc63d4b9dab57c7187ce8c7f
BLAKE2b-256 checksum
How to use checksums
de6c82938ec1e8d9a8f039453d2694b2c2e331be7937ebadddf914586cc14312
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 5, 2026.

Transparency log

Release files / pdfgears-0.1.1-py3-none-any.whl

Download URL pdfgears-0.1.1-py3-none-any.whl
Size 6.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
38d7f5333b8d0a15675aa40c31ca76c9190af88e41958f91f99921291aa778ed
BLAKE2b-256 checksum
How to use checksums
1abc11aa3faf2fd3e4eca4e9003c4cc086b3fab772fb7ab599739c135bef0ed8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 5, 2026.

Transparency log

Release history Release notifications | RSS feed

0.1.2

2 release files

This release

0.1.1 This release

2 release files

0.1.0

2 release files

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