tomd-cli
Convert Office/PDF files to Markdown.
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
Metadata
Release files for tomd-cli 0.1.5.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 | |
|---|---|---|---|
| tomd_cli-0.1.5.1.tar.gz | 19.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tomd_cli-0.1.5.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 35.8 kB
Release files / tomd_cli-0.1.5.1.tar.gz
| Download URL | tomd_cli-0.1.5.1.tar.gz |
|---|---|
| Size | 19.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
43cfc030fba828414a3d3d60efb26df71f898fde4e51cd8ed676ac6a72709801
|
|
BLAKE2b-256 checksum How to use checksums |
d165aad2301dbbee1adeb77570602c0967349a354db1284b399c686a94bae834
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Mar 16, 2026.
Transparency logRelease files / tomd_cli-0.1.5.1-py3-none-any.whl
| Download URL | tomd_cli-0.1.5.1-py3-none-any.whl |
|---|---|
| Size | 16.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c117ac23bc6fe26d5d23985782e2a1bc17df4bd013e5b03a4e60921d9bd2268d
|
|
BLAKE2b-256 checksum How to use checksums |
43e93027a2adf74ec16aa0d70ad17834183db3677cd05fae7984ea7f6d9f09b0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Mar 16, 2026.
Transparency log