Package: mdtable
:clipboard: mdtablemdtable is a Python built command line interface that lets you convert csv files into Markdown formatted tables easily. It also provides a Python API to use for your projects.InstallationRunpip install mdtableand check that the latest version is current installed by runningmdtable —version.Usage>>>mdtable[OPTIONS]INPUT_FILEThe options available are:-a, --aligns TEXT      Comma seperated list of 'l,r,c'
-p, --padding INTEGER  Padding for raw Markdown Table formatting
-s, --save TEXT        Path to save formatted markdown to
--delimiter TEXT       Delimiter character in csv
--quotechar TEXT       Quote character in csv
--escapechar TEXT      Escape character in csv
--writemode TEXT       Python write mode, e.g w+, w, a, a+
--version              Show the version and exit.
--help                 Show this message and exit.Example:Suppose you have a fileinput.csvlike so:Name,Department,Birthday Month
John Smith,Accounting,November
Erica Meyers,IT,March
Zain Patel,Engineering,June
Christopher Smith,Engineering,July
Kiseki Hirakawa,Human Resources,FebruaryRunningmdtable input.csvresults in:| Name              | Department      | Birthday Month |
| ----------------- | --------------- | -------------- |
| John Smith        | Accounting      | November       |
| Erica Meyers      | IT              | March          |
| Zain Patel        | Engineering     | June           |
| Christopher Smith | Engineering     | July           |
| Kiseki Hirakawa   | Human Resources | February       |which looks like:NameDepartmentBirthday MonthJohn SmithAccountingNovemberErica MeyersITMarchZain PatelEngineeringJuneChristopher SmithEngineeringJulyKiseki HirakawaHuman ResourcesFebruaryAPI[soon] more documentationExample:frommdtableimportMDTablemarkdown=MDTable('in.csv')markdown_string_table=markdown.get_table()markdown.save_table('out.csv')Current FeaturesAbility to specify alignments, by providing a comma seperated string of alignments values (either 'l', 'r' or 'c') tomdtables —aligns [ALIGNS] INPUT_FILE, say for examplemdtables —aligns c,c,l input.csv, there must be as many alignments characters as there are tables.Ability to save output to a markdown file (and specify the writing mode) by providing the path to the file you wish to save tomdtables —save [SAVE_FILE] INPTUT_FILEsay for examplemdtables —save output.md input.csvProvide custom delimiter, quotation and escape characters for reading in your csv file. This is done by providing the character to—delimiter, —quotechar, —escapehcarrespectively.Add a padding option to make table border padding customisable (in the raw output). This can now be done. Runningmdtable input.csv -p 3returns|   Name                |   Department        |   Birthday Month   |
|   -----------------   |   ---------------   |   --------------   |
|   John Smith          |   Accounting        |   November         |
|   Erica Meyers        |   IT                |   March            |
|   Zain Patel          |   Engineering       |   June             |
|   Christopher Smith   |   Engineering       |   July             |
|   Kiseki Hirakawa     |   Human Resources   |   February         |Future FeaturesImplement a centering flag (for raw output) to prettify the output if requiredEnable 0 paddingAdd documentation for the APIImplement tests fordelimeters``, quotecharsandescapechars.