Metadata-Version: 2.4
Name: mdproc
Version: 0.2.0
Summary: A tool to process markdown files.
Project-URL: Homepage, https://github.com/honghe/mdproc
Project-URL: Repository, https://github.com/honghe/mdproc
Author: Honghe
License-File: LICENSE
Keywords: jpg,markdown,png,process
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Multimedia :: Video
Requires-Python: >=3.10
Requires-Dist: cos-python-sdk-v5
Requires-Dist: httpx
Requires-Dist: python-dotenv
Provides-Extra: dev
Requires-Dist: build; extra == 'dev'
Requires-Dist: twine; extra == 'dev'
Description-Content-Type: text/markdown

# mdproc

A simple Python tool to process markdown files.

## Features

- Markdown Image Uploader to COS.

## Config

`.env` or configure environment variables:
```
COS_SECRET_ID=<xyz>
COS_SECRET_KEY=<xyz>
COS_REGION=<xyz>
COS_BUCKET=<xyz>
```

## Usage

1. Install dependencies:
    ```bash
    pip install mdproc
    ```
2. Run the script:
    ```bash
    mdproc-imgupload your_markdown.md
    ```

## Demo

demo.md:
```
![first-version](https://www.python.org/static/img/python-logo.png)
```

demo_output.md
```
![first-version](https://pic-1251484506.cos.ap-guangzhou.myqcloud.com/imgs/python-logo_ae79195a.png)
```

## License

Apache License