Metadata-Version: 2.1
Name: py-markdown-table
Version: 0.1.6
Summary: A package used to generate basic markdown tables from a list of dicts
Home-page: https://github.com/hvalev/markdownTable
Author: hvalev
License: UNKNOWN
Description: # markdownTable
        
        ![build](https://github.com/hvalev/markdownTable/workflows/build/badge.svg)
        
        A class used to generate padded tables in a markdown code block 
        
        # Installation
        You can install it via pip with the following command 
        ```pip3 install py-markdown-table```
        and consequently import it via
        ```from markdownTable import markdownTable```
        
        # Examples
        
        ```markdownTable(data).getMarkdown(row_sep = 'always')```
        ```
        +----------------------------------------+
        |    title   |    time   |   date  |seats|
        +------------+-----------+---------+-----+
        |Vrij Zwemmen|21:30-23:00|Wed 09.12|24/24|
        +------------+-----------+---------+-----+
        |Vrij Zwemmen|12:00-13:00|Thu 10.12|18/18|
        +------------+-----------+---------+-----+
        |Vrij zwemmen| 7:30-8:30 |Fri 11.12|18/18|
        +------------+-----------+---------+-----+
        |Vrij Zwemmen|13:15-14:15|Sat 12.12|18/18|
        +----------------------------------------+
        ```
        
        ```markdownTable(data).setParams(row_sep = 'topbottom').getMarkdown()```
        ```
        +----------------------------------------+
        |    title   |    time   |   date  |seats|
        |Vrij Zwemmen|21:30-23:00|Wed 09.12|24/24|
        |Vrij Zwemmen|12:00-13:00|Thu 10.12|18/18|
        |Vrij zwemmen| 7:30-8:30 |Fri 11.12|18/18|
        |Vrij Zwemmen|13:15-14:15|Sat 12.12|18/18|
        +----------------------------------------+
        ```
        
        ```markdownTable(data).setParams(row_sep = 'topbottom', padding_width = 5, padding_weight='left').getMarkdown()```
        ```
        +------------------------------------------------------------+
        |            title|            time|          date|     seats|
        |     Vrij Zwemmen|     21:30-23:00|     Wed 09.12|     24/24|
        |     Vrij Zwemmen|     12:00-13:00|     Thu 10.12|     18/18|
        |     Vrij zwemmen|       7:30-8:30|     Fri 11.12|     18/18|
        |     Vrij Zwemmen|     13:15-14:15|     Sat 12.12|     18/18|
        +------------------------------------------------------------+
        ```
        
        ```markdownTable(data).setParams(row_sep = 'topbottom', padding_width = 5, padding_weight = 'centerright').getMarkdown()```
        ```
        +------------------------------------------------------------+
        |      title      |      time      |     date     |  seats   |
        |  Vrij Zwemmen   |  21:30-23:00   |  Wed 09.12   |  24/24   |
        |  Vrij Zwemmen   |  12:00-13:00   |  Thu 10.12   |  18/18   |
        |  Vrij zwemmen   |   7:30-8:30    |  Fri 11.12   |  18/18   |
        |  Vrij Zwemmen   |  13:15-14:15   |  Sat 12.12   |  18/18   |
        +------------------------------------------------------------+
        ```
        
        ```mt = markdownTable(data).setParams(row_sep = 'always', padding_width = 5, padding_weight='centerright', padding_char = '.').getMarkdown()```
        ```
        +------------------------------------------------------------+
        |......title......|......time......|.....date.....|..seats...|
        +-----------------+----------------+--------------+----------+
        |..Vrij Zwemmen...|..21:30-23:00...|..Wed 09.12...|..24/24...|
        +-----------------+----------------+--------------+----------+
        |..Vrij Zwemmen...|..12:00-13:00...|..Thu 10.12...|..18/18...|
        +-----------------+----------------+--------------+----------+
        |..Vrij zwemmen...|...7:30-8:30....|..Fri 11.12...|..18/18...|
        +-----------------+----------------+--------------+----------+
        |..Vrij Zwemmen...|..13:15-14:15...|..Sat 12.12...|..18/18...|
        +------------------------------------------------------------+
        ```
        
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
