Metadata-Version: 2.4
Name: PrettyTableX
Version: 0.1.3
Summary: A module that will help you make tables look pretty.
Author: SG-1022
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# PrettyTableX

PrettyTableX is a free module build to make boring arrays into good looking tables via the console.

To get it, all you have to do is type 'pip install PrettyTableX' in the terminal.

To use it, you have to type

from PrettyTable import PrettyTable



To use it, you first need an array. Then you can optionally give a header, row's indexes and column's indexes.

table = PrettyTable(ar=array)

Here are all the parameters you can put in PrettyTableX.

ar = Array

header: Takes a string. The header of the table.

row_index: Takes a boolean. If you want the rows to be indexed, turn this on.

row_indexes: Takes a list. After turning on row_index, you can give a list of the indexes they use. If you don't put a parameter here, then the indexes automatically become numbers.

column_indexes: Takes a list. If you want the columns to be indexed, then put the list here.



After putting your array into PrettyTable. You can use the dict_to_array or the tup_to_array if you need to change the non-array into an array.

If you want to see your array. Print the table.

If you want it prettified instead of normal. Run table.make_table_pretty() and then print the table.
