# Path: terminaltables/other_tables.py
# class SingleTable(WindowsTable if IS_WINDOWS else UnixTable):
#     """Cross-platform table with single-line box-drawing characters.
# 
#     :ivar iter table_data: List (empty or list of lists of strings) representing the table.
#     :ivar str title: Optional title to show within the top border of the table.
#     :ivar bool inner_column_border: Separates columns.
#     :ivar bool inner_footing_row_border: Show a border before the last row.
#     :ivar bool inner_heading_row_border: Show a border after the first row.
#     :ivar bool inner_row_border: Show a border in between every row.
#     :ivar bool outer_border: Show the top, left, right, and bottom border.
#     :ivar dict justify_columns: Horizontal justification. Keys are column indexes (int). Values are right/left/center.
#     :ivar int padding_left: Number of spaces to pad on the left side of every cell.
#     :ivar int padding_right: Number of spaces to pad on the right side of every cell.
#     """
# 
#     pass


from colorclass import Color, Windows
from terminaltables import SingleTable
#!/usr/bin/env python
"""Example usage of terminaltables with colorclass.

Just prints sample text and exits.
"""

from __future__ import print_function




def table_server_timings():
    """Return table string to be printed."""
    table_data = [
        [Color('{autogreen}<10ms{/autogreen}'), '192.168.0.100, 192.168.0.101'],
        [Color('{autoyellow}10ms <= 100ms{/autoyellow}'), '192.168.0.102, 192.168.0.103'],
        [Color('{autored}>100ms{/autored}'), '192.168.0.105'],
    ]
    table_instance = SingleTable(table_data)
    table_instance.inner_heading_row_border = False
    return table_instance.table


def table_server_status():
    """Return table string to be printed."""
    table_data = [
        [Color('Low Space'), Color('{autocyan}Nominal Space{/autocyan}'), Color('Excessive Space')],
        [Color('Low Load'), Color('Nominal Load'), Color('{autored}High Load{/autored}')],
        [Color('{autocyan}Low Free RAM{/autocyan}'), Color('Nominal Free RAM'), Color('High Free RAM')],
    ]

# Path: terminaltables/other_tables.py
# class SingleTable(WindowsTable if IS_WINDOWS else UnixTable):
#     """Cross-platform table with single-line box-drawing characters.
# 
#     :ivar iter table_data: List (empty or list of lists of strings) representing the table.
#     :ivar str title: Optional title to show within the top border of the table.
#     :ivar bool inner_column_border: Separates columns.
#     :ivar bool inner_footing_row_border: Show a border before the last row.
#     :ivar bool inner_heading_row_border: Show a border after the first row.
#     :ivar bool inner_row_border: Show a border in between every row.
#     :ivar bool outer_border: Show the top, left, right, and bottom border.
#     :ivar dict justify_columns: Horizontal justification. Keys are column indexes (int). Values are right/left/center.
#     :ivar int padding_left: Number of spaces to pad on the left side of every cell.
#     :ivar int padding_right: Number of spaces to pad on the right side of every cell.
#     """
# 
#     pass


# Path: example2.py
from colorclass import Color, Windows
from terminaltables import SingleTable

#!/usr/bin/env python
"""Example usage of terminaltables with colorclass.

Just prints sample text and exits.
"""

from __future__ import print_function




def table_server_timings():
    """Return table string to be printed."""
    table_data = [
        [Color('{autogreen}<10ms{/autogreen}'), '192.168.0.100, 192.168.0.101'],
        [Color('{autoyellow}10ms <= 100ms{/autoyellow}'), '192.168.0.102, 192.168.0.103'],
        [Color('{autored}>100ms{/autored}'), '192.168.0.105'],
    ]
    table_instance = SingleTable(table_data)
    table_instance.inner_heading_row_border = False
    return table_instance.table


def table_server_status():
    """Return table string to be printed."""
    table_data = [
        [Color('Low Space'), Color('{autocyan}Nominal Space{/autocyan}'), Color('Excessive Space')],
        [Color('Low Load'), Color('Nominal Load'), Color('{autored}High Load{/autored}')],
        [Color('{autocyan}Low Free RAM{/autocyan}'), Color('Nominal Free RAM'), Color('High Free RAM')],
    ]

    table_instance = SingleTable(table_data, '192.168.0.105')