mdtable2csv (Convert .md file to .csv)
Convert markdown tables to csvs!
Install requirements
pip install mdtable2csv
Usage
Command Line
Use the following command to convert <filename>.md to <filename>.csv :
mdtable2csv <filename>.md
And then you will see a <filename>.csv in the same folder.
Python
from mdtable2csv import mdtable2csv
mdtable2csv("temp.md")
And then you will see a <filename>.csv in the same folder.
Examples
table.md
# table.md :
First Header | Second Header
------------- | -------------
Content Cell | Content Cell
Content Cell | Content Cell
$ mdtable2csv table.md
# table.csv :
First Header,Second Header
Content Cell,Content Cell
Content Cell,Content Cell
abc.md
# abc.md :
| | a | b | c |
|---|----|----|----|
| 1 | a1 | b1 | c1 |
| 2 | a2 | b2 | c2 |
| 3 | a3 | b3 | c3 |
$ mdtable2csv abc.md
# abc.csv :
,a,b,c
1,a1,b1,c1
2,a2,b2,c2
3,a3,b3,c3
Please give me a star if you find this tool useful, Thank you.
Metadata
Release files for mdtable2csv 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mdtable2csv-0.1.0.tar.gz | 89.7 kB | Without provenance | Details for mdtable2csv-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mdtable2csv-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for mdtable2csv-0.1.0-py3-none-any.whl |
Total release size: 94.7 kB
Release files / mdtable2csv-0.1.0.tar.gz
| Download URL | mdtable2csv-0.1.0.tar.gz |
|---|---|
| Size | 89.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
72f8d95f7725bb4be4c886faf6454698674fb39f7c4aec019be5acc932384fe8
|
|
BLAKE2b-256 checksum How to use checksums |
6be94cf5c3563bbd859556e310010a132629eb52882a21328f7486e91e0a7929
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Release files / mdtable2csv-0.1.0-py3-none-any.whl
| Download URL | mdtable2csv-0.1.0-py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
30c6c5b27c76e9a64edaef15895b145fd77921b41a0a3af69a186251f857ba78
|
|
BLAKE2b-256 checksum How to use checksums |
a894b3bca1cb5c1c695ecb26e8ee6767cedae7738e4c90c7a1c90b29a44c4ac7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Security for mdtable2csv 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.