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

https://raw.githubusercontent.com/xsddz/terminalprint/master/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.4.tar.gz (3.1 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.4-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: terminalprint-0.0.4.tar.gz
  • Upload date:
  • Size: 3.1 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.4.tar.gz
Algorithm Hash digest
SHA256 fbb56be3b4d64949275f4627a260b5a9f9f1623ff436b482397f7126a08ed612
MD5 4bccbbae4282404cc9d914221d7137f3
BLAKE2b-256 e1e1a2776ffd4ff704d64012f3c657e8be8e09ad7355dd52d47d2af544428044

See more details on using hashes here.

File details

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

File metadata

  • Download URL: terminalprint-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 3.9 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 8600ef6ae8c25ce2be50befeb769823d20e63d027d8d572ff72aad8ec7e3199f
MD5 bf195206a6a28c2f058a71ebcef72500
BLAKE2b-256 bc2d4523d13bbcbbad5c739def65a98fe4688c9807afab10ff15f8e8b8dad391

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