Skip to main content

Convert Excel to markdown ....

Project description


Convert Excel to markdown, json ...



pip install soc-excel-convert


Simple to use, the command is as follows:

soc-excel-convert -e ./test/excel/demo1.xlsx 

The file name will be created in the current directory with the same name directory, which stores the generated markdown file, one file per sheet, named after the sheet name.

Parameter Description:

Short parameter name Long parameter name Must Default Description
-e --excel Y None Specify the path to the excel file to be converted.If it is empty, it will get excel data from the clipboard by default.
-m --mode N md Specify the conversion format, optional parameters: md (markdown) and json. Do not pass the default to md. Currently only supports md;
-s --sheets N '' Specify which sheet tables to output, default output all
-t --target N ./{fileName}/ Output target path. Do not pass the default current directory. If the directory does not exist, it will be created automatically.
-c --copy N '' Fill in "copy" to output the escaped markdown table content in the clipboard.Default not output.

View Results

more demo1/ 
|-m|--mode|N|md|指定转换格式,&nbsp;可选参数:&nbsp;md(markdown)和json.&nbsp;<br />不传默认为md.&nbsp;目前仅支持md;|
|-t|--target|N|./{fileName}/|输出目标路径.&nbsp;不传默认当前目录.&nbsp;<br />如果目录不存在则会自动创建;|


Apache 2.0 License.

Thank you

If you have any questions. please contact my

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for soc-excel-convert, version 1.0.2
Filename, size File type Python version Upload date Hashes
Filename, size soc_excel_convert-1.0.2-py3-none-any.whl (15.8 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size soc-excel-convert-1.0.2.tar.gz (10.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page