Metadata-Version: 2.4
Name: doc-to-md-cli
Version: 0.1.0
Summary: Convert DOCX files to Markdown using Playwright
Project-URL: Homepage, https://github.com/YOUR_USERNAME/doc2md-cli
Project-URL: Repository, https://github.com/YOUR_USERNAME/doc2md-cli
Project-URL: Issues, https://github.com/YOUR_USERNAME/doc2md-cli/issues
License: MIT
License-File: LICENSE
Keywords: cli,converter,docx,markdown,word
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Text Processing :: Markup
Classifier: Topic :: Utilities
Requires-Python: >=3.8
Requires-Dist: playwright
Description-Content-Type: text/markdown

# doc-to-md-cli

A command-line tool to convert DOCX files to Markdown using Playwright automation.

## Features

- Convert single DOCX files or entire directories
- Batch processing support
- Headless browser mode for automation
- Clean Markdown output powered by word2md.com

## Installation

```bash
pip install doc-to-md-cli
```

## Usage

### Convert a single file

```bash
doc-to-md document.docx
```

### Convert to a specific output directory

```bash
doc-to-md document.docx --out ./output
```

### Convert all DOCX files in a directory

```bash
doc-to-md ./my-docs --out ./converted
```

### Run in headless mode (no visible browser)

```bash
doc-to-md document.docx --headless
```

## Requirements

- Python 3.8 or higher
- Playwright (installed automatically)

After installing, you may need to install Playwright browsers:

```bash
playwright install chromium
```

## License

MIT License - see LICENSE file for details.
