Closed ayan-ahmad closed 4 months ago
This PR implements #11
table = TableBuilder()
(max_content_per_page=10, num_column=True)
.add_headers([...])
.add_header(...)
.add_rows([...])
.add_row(...)
.build(page_numbers=...)
string
ValueError
max_content_per_page
page_number
table.addHeaders(...).addRows(...).build(page_number=1)
Comments at the bottom and top of the file should answer any additional questions you may have if not feel free to ask 🙂
This PR implements #11
How to use
table = TableBuilder()
(if you want you can add parameters(max_content_per_page=10, num_column=True)
).add_headers([...])
or.add_header(...)
.add_rows([...])
or.add_row(...)
.build(page_numbers=...)
, this will return typestring
or throwValueError
Features
max_content_per_page
in initialisation andpage_number
in buildingtable.addHeaders(...).addRows(...).build(page_number=1)
Comments at the bottom and top of the file should answer any additional questions you may have if not feel free to ask 🙂