Skip to main content

A cli tool for convert markdown into sheet(xlsx).

Project description

PyPI - Version PyPI - Downloads

PyPI - Python Version Static Badge

Convert structed markdown content into sheet(XLSX).

Is this for me?

If you want convert a markdown like this:

# Comics
## Detective Comics (DC)
### Batman Family
#### Batman
...
#### Catwoman
...

## Marvel Comics
### Avengers
#### Iron Man
...
#### Captain America
...

into sheet like this:

h1 h2 h3 h4 h5
Comics Detective Comics (DC) BatmanFamily Batman ...
Comics Detective Comics (DC) BatmanFamily Cat woman ...
Comics Marvel Comics Avengers Iron Man ...
Comics Marvel Comics Avengers Captain America ...

then you are on the right place.

💡Futhuremore, you can use office tools to modifiy the sheet according to your preferences: use office tools to modify sheet

Requirements

Python 3.11+

The md2Sheet stands on the shoulders of giants:

Installation

pip install md2sheet

Usage

md2xlsx [OPTIONS] IN_FILE OUT_FILE

Options:

  • --install-completion: Install completion for the current shell.
  • --show-completion: Show completion for the current shell, to copy it or customize the installation.
  • --help: Show this message and exit.

Arguments:

  • IN_FILE: Enter the markdown filepath [required]
  • OUT_FILE: Enter the xlsx filepath [required]

License

This project is licensed under the terms of the MIT license.

Contract

Static Badge

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

md2sheet-0.2.1.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

md2sheet-0.2.1-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: md2sheet-0.2.1.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.12.0 Windows/11

File hashes

Hashes for md2sheet-0.2.1.tar.gz
Algorithm Hash digest
SHA256 be4c92c3c263723be113c94d7956b24858494c9c5e84d23731a5a0c73393206c
MD5 a73664f50f08c76f32758c7d780bc1eb
BLAKE2b-256 5f38215936751ad5f4505ee7f857d167af95337d468d27efdf10ac8c921775cb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: md2sheet-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.12.0 Windows/11

File hashes

Hashes for md2sheet-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 843342c815dc3217ddb8a6ba3618dbcecd115e59fc50c8e9c3da8c5afd8e9c79
MD5 acace7de09a54fb7df9fd9448e7d9f06
BLAKE2b-256 bd9f40a049461ba42dc5396a5fb7ab83a7c8f015021a9fa27a9bfe34dcc68fb4

See more details on using hashes here.

Supported by

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