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/py_pkg_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.5.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.5-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: terminalprint-0.0.5.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.5.tar.gz
Algorithm Hash digest
SHA256 1c0ae5d2d8ce75da65a404a071f270b89cd291d3927a6ff7a9b8175db1880231
MD5 508ade684f09751399e56d9ff6364b16
BLAKE2b-256 3ba3424560169bec27bbb916d0a117a6d56e92ca0c4981c53a49d3a0b27c3ac6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: terminalprint-0.0.5-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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 13e6c5b4404ab585f0301da034c07b50a3f276bbd6fb27c453fcf5fb0c5618e5
MD5 49cb190591dc4115ef539c92aff04f02
BLAKE2b-256 0dff51d45700a5a5211b1e01095816777eeaadaf1cb41b55fbc77590f197520d

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