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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pdfmd-0.2.1.tar.gz | 3.2 kB | With provenance | Details for pdfmd-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pdfmd-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for pdfmd-0.2.1-py3-none-any.whl |
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 logRelease 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 logSecurity for pdfmd 0.2.1
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for pdfmd-0.2.1.tar.gz
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 logA 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.