semvec/pypi-packages huggingface dataset:
terminalprint 0.0.5
a package for terminal pretty print
License: MIT
Requires Python: >=3
Keywords: terminal print pretty table

=============
terminalprint
=============


Quickstart
----------

Install::

    pip install terminalprint

Usage::

    >>> table = [
    ...     ['Heading1', 'Heading2'],
    ...     ['row1 column1', 'row1 column2'],
    ...     ['row2 column1', 'row2 column2'],
    ...     ['row3 column1', 'row3 column2']
    ... ]
    >>> 
    >>> import terminalprint as tp
    >>> tp.table_print(table)
    +--------------+--------------+
    | Heading1     | Heading2     |
    +--------------+--------------+
    | row1 column1 | row1 column2 |
    | row2 column1 | row2 column2 |
    | row3 column1 | row3 column2 |
    +--------------+--------------+
    >>> 

Example
-------

.. image:: https://raw.githubusercontent.com/xsddz/py_pkg_terminalprint/master/docs/example-01.png