Skip to main content

a package for terminal pretty print

Project description

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

docs/example-01.png

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

terminalprint-0.0.3.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

terminalprint-0.0.3-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file terminalprint-0.0.3.tar.gz.

File metadata

  • Download URL: terminalprint-0.0.3.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.0

File hashes

Hashes for terminalprint-0.0.3.tar.gz
Algorithm Hash digest
SHA256 2a3a9d72513c161a2dcfb27916cdfdc9060eb85e9fe2becf5d01da5c8eded878
MD5 c241a6b2ef48d71290de9ee10b288a94
BLAKE2b-256 d30653c65375eecc4f78e2072b1d22b640a6955cdcb38d792be91decee66ac92

See more details on using hashes here.

File details

Details for the file terminalprint-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: terminalprint-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.0

File hashes

Hashes for terminalprint-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 cf7d9fc216a1254373877120bb71d28fa1ec41aad8a393f8e3b9ca0c54febbd7
MD5 7213996478426b7e64cfc867b8931f83
BLAKE2b-256 7f62d4eedebd4c7c6688888cc6372613a312fa225c5f9f4ce2f7e05a2f7e06ad

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page