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.1.tar.gz (7.4 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.1-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mdproc-0.2.1.tar.gz
  • Upload date:
  • Size: 7.4 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.1.tar.gz
Algorithm Hash digest
SHA256 99f0d975c22e357e3104ecb7e0ec982610d033f3120bf29fed9ef4fe2dfe92ab
MD5 1f46bd1a64d0cf1ea35fba698af993eb
BLAKE2b-256 1302edaecf477eb02b31c2c73f68cf59b279f19588de6ca7d548448b1ece5c04

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mdproc-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 8.9 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0160165dd074a460b5385613a8fb0fecd3bbb27488a64efbc76ff3783bcaa436
MD5 6989b5e36fb50648a50193ee092d8375
BLAKE2b-256 3cde1d1415574cd74b333fe587e8f6d4ddaff063d969dd4b615d2a55985dc60b

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