Skip to main content

Convert Excel to markdown ....

Project description

云海Excel转换 SOC-EXCEL-CONVERT

Convert Excel to markdown, json ...

中文

INSTALL

pip install soc-excel-convert

USE

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/test1.md 
|短参数名|长参数名|是否必传|默认值|描述|
|:--|:--|:--:|:--:|:--|
|-e|--excel|Y||指定需要转换的excel文件路径|
|-m|--mode|N|md|指定转换格式,&nbsp;可选参数:&nbsp;md(markdown)和json.&nbsp;<br />不传默认为md.&nbsp;目前仅支持md;|
|-s|--sheets|N|''|指定输出哪些sheet表格,&nbsp;不传输出所有;|
|-t|--target|N|./{fileName}/|输出目标路径.&nbsp;不传默认当前目录.&nbsp;<br />如果目录不存在则会自动创建;|

License

Apache 2.0 License.

Thank you

If you have any questions. please contact my email:tree@ejyi.com

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

soc-excel-convert-1.0.2.tar.gz (10.7 kB view details)

Uploaded Source

Built Distribution

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

soc_excel_convert-1.0.2-py3-none-any.whl (15.8 kB view details)

Uploaded Python 3

File details

Details for the file soc-excel-convert-1.0.2.tar.gz.

File metadata

  • Download URL: soc-excel-convert-1.0.2.tar.gz
  • Upload date:
  • Size: 10.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.6.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5

File hashes

Hashes for soc-excel-convert-1.0.2.tar.gz
Algorithm Hash digest
SHA256 40cdd4441f171bf4e5fd5fd198ec2fa7c9c2ff847c1d5650a67a0ef6b2c58a9a
MD5 011f51dfac8cff04150396094754b236
BLAKE2b-256 5537c6aff1dd59ffd495577fc96f0a2cdc7b67c36c7c5e6fd7de5f19751b2e98

See more details on using hashes here.

File details

Details for the file soc_excel_convert-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: soc_excel_convert-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 15.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.6.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5

File hashes

Hashes for soc_excel_convert-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 cc688fbbba003bbace6eb154971db666c41a1586cb9369d8beaa424a99603978
MD5 fa6515b4df409145707d7755c280f4b1
BLAKE2b-256 92c8e3c587eee66939c31471d4de13bbdfb65ca6f56c85ef8b386374d72ec083

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