Convert a list of dictionaries to a markdown formatted table.
Project description
tomark
A Python module that converts a list of dictionaries to a markdown formatted table.
Note: Each dict in the list must have the same number of elements.
Example table output:
PR | Status | Date | Title |
---|---|---|---|
292 | open | None | Adds new wiz bang feature |
286 | v1.0 | None | Updates UI to be more awesome |
Example list of dictionaries:
[
{
'pr': 291,
'status': 'closed',
'date': 'None',
'title': 'Adds new wiz bang feature'
},
{
'pr': 290,
'status': 'v1.0',
'date': 'None',
'title': 'Updates UI to be more awesome'
}
]
Example raw ouput:
| PR | Status | Date | Title |
|----|----|----|----|
| 292 | open | None | Adds new wiz bang feature |
| 286 | v1.0 | None | Updates UI to be more awesome |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tomark-0.1.2.tar.gz
(1.9 kB
view hashes)
Built Distribution
tomark-0.1.2-py3-none-any.whl
(2.3 kB
view hashes)