Skip to main content

multi_convert

Python package for converting document formats between Markdown, HTML, and PDF.

Installation

pip install multi_convert

Requires Python 3.10 or newer.

Usage

Library

from multi_convert import convert

convert("notes.md", "notes.pdf")
convert("page.html", "page.md")

Both formats are inferred from the file extensions. convert returns the output path and raises ConversionError if the input is missing or either extension is not one of .md, .html, or .pdf.

Command line

multi-convert notes.md notes.pdf

Supported conversions

From To
Markdown HTML, PDF
HTML Markdown, PDF
PDF Markdown, HTML

Every conversion routes through Markdown as an intermediate representation. Because PDF text extraction recovers plain text only, converting from PDF loses headings, tables, and emphasis; the other five directions preserve structure.

License

MIT

Metadata

Release files for multi-convert 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 multi-convert 0.1.1
File Size Uploaded
multi_convert-0.1.1.tar.gz 6.3 kB Details

Built distribution (wheel)

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

Total release size: 11.4 kB

Release files / multi_convert-0.1.1.tar.gz

Download URL multi_convert-0.1.1.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
bb700e43fb5f4f2cd8452049d19c092115194f1290f0e827cbc9a35010adac3c
BLAKE2b-256 checksum
How to use checksums
7175d01bb50ba1e0f90ffeeff1bfe033f574d334585dde1c6c6c0d75950124f7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

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

Download URL multi_convert-0.1.1-py3-none-any.whl
Size 5.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ebdab90deffe29bf1b97a5e946b80a6ee5966e12ae2c618bf9ee4958ded7a9e1
BLAKE2b-256 checksum
How to use checksums
77acc55b692358e693429611a427cc2308f5928c08387e596ded95c3ed017010
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release history Release notifications | RSS feed

0.1.3

2 release files

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