Convert Office files (.docx, .pptx, .xlsx, .pdf) to Markdown using MarkItDown
Project description
tomd-cli
Convert Office files to Markdown using MarkItDown.
Supported formats
.docx(Word).pptx(PowerPoint).xlsx(Excel).pdf
Installation
# pipx (recommended)
pipx install tomd-cli
# or pip
pip install tomd-cli
Update
# pipx
pipx upgrade tomd-cli
# or pip
pip install --upgrade tomd-cli
Usage
CLI
# Convert a single file
tomd document.docx
# Specify output path
tomd document.docx -o output.md
# Convert all files in a directory
tomd --dir ./documents/
# Convert directory with custom output
tomd --dir ./documents/ -o ./markdown/
Python API
from tomd import convert_file, convert_dir
# Single file
output_path = convert_file("document.docx")
output_path = convert_file("document.docx", "output.md")
# Directory
output_paths = convert_dir("./documents/")
output_paths = convert_dir("./documents/", "./markdown/")
License
MIT
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tomd_cli-0.1.5.tar.gz.
File metadata
- Download URL: tomd_cli-0.1.5.tar.gz
- Upload date:
- Size: 19.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c68fd49492415225ce7d93ed7fc6c1920a54da9a0454bf203f98b2a2ab2606de
|
|
| MD5 |
c8a18cdced1359dd02dcf9a8c030e530
|
|
| BLAKE2b-256 |
b679dbb22a449b8d687e34610691e1b9b423e671c2f7e381337ef1c0988e8a36
|
Provenance
The following attestation bundles were made for tomd_cli-0.1.5.tar.gz:
Publisher:
publish.yml on chun-mura/tomd-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tomd_cli-0.1.5.tar.gz -
Subject digest:
c68fd49492415225ce7d93ed7fc6c1920a54da9a0454bf203f98b2a2ab2606de - Sigstore transparency entry: 1107796309
- Sigstore integration time:
-
Permalink:
chun-mura/tomd-cli@aabfab885a3429001c9651aa9b9002c075decc9f -
Branch / Tag:
refs/tags/v0.1.5 - Owner: https://github.com/chun-mura
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@aabfab885a3429001c9651aa9b9002c075decc9f -
Trigger Event:
push
-
Statement type:
File details
Details for the file tomd_cli-0.1.5-py3-none-any.whl.
File metadata
- Download URL: tomd_cli-0.1.5-py3-none-any.whl
- Upload date:
- Size: 16.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
636469729ad00bcc3714393e840cc38bbf4bde3b74b53010f49c3facdbdca448
|
|
| MD5 |
aa99dda21e45b1f5c91601291062b03d
|
|
| BLAKE2b-256 |
1916daf760157eeff7f263ed003c78927aef28256947618889af869740455ba5
|
Provenance
The following attestation bundles were made for tomd_cli-0.1.5-py3-none-any.whl:
Publisher:
publish.yml on chun-mura/tomd-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tomd_cli-0.1.5-py3-none-any.whl -
Subject digest:
636469729ad00bcc3714393e840cc38bbf4bde3b74b53010f49c3facdbdca448 - Sigstore transparency entry: 1107796311
- Sigstore integration time:
-
Permalink:
chun-mura/tomd-cli@aabfab885a3429001c9651aa9b9002c075decc9f -
Branch / Tag:
refs/tags/v0.1.5 - Owner: https://github.com/chun-mura
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@aabfab885a3429001c9651aa9b9002c075decc9f -
Trigger Event:
push
-
Statement type: