Skip to main content

A tool to process markdown files.

Project description

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:
    pip install mdproc
    
  2. Run the script:
    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

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

mdproc-0.2.0.tar.gz (7.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mdproc-0.2.0-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

Details for the file mdproc-0.2.0.tar.gz.

File metadata

  • Download URL: mdproc-0.2.0.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for mdproc-0.2.0.tar.gz
Algorithm Hash digest
SHA256 609a1577932e961921b5874dafd7d3600750ace27c9173f9039210cbfc04d259
MD5 4ce67448a2047988de73d594d79604e4
BLAKE2b-256 af0c591c461505dc6c965a9f8a3aae443bba225c13f2ac36d271d648718967d4

See more details on using hashes here.

File details

Details for the file mdproc-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: mdproc-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 8.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for mdproc-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7898fae7d353ba9d30caed8702208bab3dc8ff7a727fd549b9a54d50ecbc9582
MD5 7832d7342a1dd1323e919bc978d5ccda
BLAKE2b-256 a9b1f29303c639184e202772b795eba87aee047c92242eda923ee9f6d0ff7468

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page