mmcpp16 / tsi-project

0 stars 0 forks source link

Added dynamic table utils #17

Closed ayan-ahmad closed 4 months ago

ayan-ahmad commented 4 months ago

This PR implements #11

How to use

  1. Initialise with table = TableBuilder() (if you want you can add parameters (max_content_per_page=10, num_column=True))
  2. To add headers use .add_headers([...]) or .add_header(...)
  3. To add rows use .add_rows([...]) or .add_row(...)
  4. To build use .build(page_numbers=...), this will return type string or throw ValueError

Features

Comments at the bottom and top of the file should answer any additional questions you may have if not feel free to ask 🙂