Skip to main content

pdfmd

Convert PDF files to Markdown using pymupdf4llm.

Installation

# Install from PyPI
pip install pdfmd

# Or as a uv tool
uv tool install pdfmd

For development:

git clone https://github.com/3n3a/pdfmd.git
cd pdfmd
uv sync

Usage

pdfmd input.pdf                          # writes input.md
pdfmd input.pdf -o output.md             # explicit output path
pdfmd input.pdf -o -                     # stdout
pdfmd input.pdf -p "1,3,5-8"            # specific pages (1-indexed)
pdfmd input.pdf --images --dpi 200       # extract images

Run pdfmd --help for all options.

Build & Publish

uv build      # creates dist/*.whl and dist/*.tar.gz
uv publish    # publish to PyPI

Metadata

Release files for pdfmd 0.2.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 pdfmd 0.2.1
File Size Uploaded
pdfmd-0.2.1.tar.gz 3.2 kB Details

Built distribution (wheel)

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

Total release size: 6.2 kB

Release files / pdfmd-0.2.1.tar.gz

Download URL pdfmd-0.2.1.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
40283b2ecbd5ca50e770ef03eaa3fa28dc91343fae4984286f566676b0cbc255
BLAKE2b-256 checksum
How to use checksums
5da2ae8188cc89fac9a5c345381a13cebb478caa611309fc1de0a44806601e23
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Apr 10, 2026.

Transparency log

Release files / pdfmd-0.2.1-py3-none-any.whl

Download URL pdfmd-0.2.1-py3-none-any.whl
Size 3.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8a7ef735e4732f6fcebbea9b857a6708907e64ddea8e3b6312910f5f630fc42c
BLAKE2b-256 checksum
How to use checksums
10a0fa6b2aa0c0489950e68bd49ba08c49533119cfae70bb610c82cd6e04255a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Apr 10, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.2.1 This release

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