Registry / data / pptx2md

pptx2md

JSON →
library2.0.6pypypi✓ verified 87d ago

Converts PowerPoint (pptx) files to Markdown format. Version 2.0.6 supports Python 3.10+ and extracts text, images, tables, and basic formatting. Release cadence is irregular.

pip install pptx2md
INSTALL
IMPORT
SIG · PPTX2MD
P
pptx2md
datapythonv2.0.6
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

pptx2md
import pptx2md
Main module; no submodules needed

Basic conversion of a pptx file to markdown.

import pptx2md pptx2md.convert('input.pptx', 'output.md') print('Conversion done')
pptx2md --version
Debug
Known issues
breakingIn version 2.x, the API changed from the 1.x CLI-only approach. The function `convert` is now the primary interface.
fix
Use `pptx2md.convert('input.pptx', 'output.md')` instead of calling the script directly.
affects: >=2.0.0
gotchaImages are not extracted by default; you must specify `--images` or the `extract_images=True` parameter to save images.
fix
Add `extract_images=True` when calling `convert`, or pass `--images` in CLI.
affects: all
gotchaThe library requires Python 3.10 or newer. Using older Python versions will cause import errors.
fix
Ensure your environment uses Python >=3.10.
affects: >=2.0.0
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'pptx2md'
pptx2md not installed or installed in wrong environment.
fix
Run `pip install pptx2md` in the correct Python environment.
AttributeError: module 'pptx2md' has no attribute 'convert'
Using an old version (1.x) where the API was different.
fix
Upgrade to version 2.x with `pip install -U pptx2md` and use `pptx2md.convert()`.
TypeError: convert() missing 1 required positional argument: 'output_path'
Forgot to provide output file path.
fix
Call `pptx2md.convert('input.pptx', 'output.md')` with both arguments.
Upgrade
Version history
2.0.6latest on PyPI · released Dec 3, 2024
Audit
Dependencies
PillowrequiredImage extraction and conversion
python-pptxrequiredReading PowerPoint files
Agent activity
6 hits · last 30 days
node
6
Resources
pptx2md — pip install pptx2md · libregistry