All Projects → tomroy → mdtable2csv

tomroy / mdtable2csv

Licence: MIT license
convert tables in .md to .csv

Programming Languages

HTML
75241 projects
python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to mdtable2csv

Hyde
Call of Duty XAsset compiler that transforms raw assets into digestible data.
Stars: ✭ 15 (-83.52%)
Mutual labels:  converter, csv
osx-callhistory-decryptor
macOS (incl big sur) call history decryptor/converter to CSV format.
Stars: ✭ 19 (-79.12%)
Mutual labels:  converter, csv
Sqlitebiter
A CLI tool to convert CSV / Excel / HTML / JSON / Jupyter Notebook / LDJSON / LTSV / Markdown / SQLite / SSV / TSV / Google-Sheets to a SQLite database file.
Stars: ✭ 601 (+560.44%)
Mutual labels:  converter, csv
csv2keepassxml
Convert CSV files into KeePass 2 XML files.
Stars: ✭ 31 (-65.93%)
Mutual labels:  converter, csv
csv-to-sqlite
A desktop app to convert CSV files to SQLite databases!
Stars: ✭ 68 (-25.27%)
Mutual labels:  converter, csv
Sqawk
Like Awk but with SQL and table joins
Stars: ✭ 263 (+189.01%)
Mutual labels:  converter, csv
Rosbag to csv
Converter from ros bag to csv
Stars: ✭ 128 (+40.66%)
Mutual labels:  converter, csv
CTR-tools
Crash Team Racing (PS1) tools - a C# framework by DCxDemo and a set of tools to parse files found in the original kart racing game by Naughty Dog.
Stars: ✭ 93 (+2.2%)
Mutual labels:  converter
to-ico
Convert PNG to ICO in memory
Stars: ✭ 115 (+26.37%)
Mutual labels:  converter
schema2ldif
Schema 2 ldif : tool to convert .schema to .ldif files and mange them live into an openldap server
Stars: ✭ 14 (-84.62%)
Mutual labels:  converter
godmt
Tool that can parse Go files into an abstract syntax tree and translate it to several programming languages.
Stars: ✭ 42 (-53.85%)
Mutual labels:  converter
CodeProject
Common code for unity project develop.
Stars: ✭ 28 (-69.23%)
Mutual labels:  converter
bot-whatsapp
Unmaintained - Multipurpose WhatsApp Bot 🤖 using open-wa/wa-automate-nodejs library! ✨
Stars: ✭ 78 (-14.29%)
Mutual labels:  converter
Excel2LaTeX
The Excel add-in for creating LaTeX tables
Stars: ✭ 914 (+904.4%)
Mutual labels:  converter
csvlixir
A CSV reading/writing application for Elixir.
Stars: ✭ 32 (-64.84%)
Mutual labels:  csv
mcp3008.js
A node.js module for querying an mcp3008 analog/digital converter.
Stars: ✭ 24 (-73.63%)
Mutual labels:  converter
datasets
The primary repository for all of the CORGIS Datasets
Stars: ✭ 19 (-79.12%)
Mutual labels:  csv
convey
CSV processing and web related data types mutual conversion
Stars: ✭ 16 (-82.42%)
Mutual labels:  csv
fastapi-csv
🏗️ Create APIs from CSV files within seconds, using fastapi
Stars: ✭ 46 (-49.45%)
Mutual labels:  csv
pandoc-placetable
Pandoc filter to include CSV data (from file or URL)
Stars: ✭ 35 (-61.54%)
Mutual labels:  csv

mdtable2csv (Convert .md file to .csv)

This is a command-line application written in Python that uses the GitHub markdown API to convert a table in .md to .csv. The styles also come directly from GitHub, so you'll know exactly how it will appear.

Motivation

I wanted to convert a table in .md to .csv, but I can't find any tools on the internet for this purpose. So I thought I can just wrote one.

Install requirements

$ pip install -r requirements.txt

OR

$ pip install beautifulsoup4 flask

If you have any issues installing Beautiful Soup, visit this page.

Usage

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.

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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].