Skip to main content

a package for terminal pretty print

Project description

install:

$ pip install terminalprint

code:

>>> table = [
...         ["测试表头1", "测试表头2", "测试表头3", '测试表头4'],
...         ["哈哈d", "dasfd12f", "哈哈哈哈", '123你好'],
...         ["dalfja", "啦啦啦啦短发就是佛的", '大方nmm', '的沙发啊的'],
...     ]
>>>
>>>
>>> import terminalprint as tp
>>>
>>> tp.table_print(table)
+-----------+----------------------+-----------+------------+
| 测试表头1 | 测试表头2            | 测试表头3 | 测试表头4  |
+-----------+----------------------+-----------+------------+
| 哈哈d     | dasfd12f             | 哈哈哈哈  | 123你好    |
| dalfja    | 啦啦啦啦短发就是佛的 | 大方nmm   | 的沙发啊的 |
+-----------+----------------------+-----------+------------+
>>>

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

terminalprint-0.0.2-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: terminalprint-0.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f997e54ad913e06afae591b676222bedb542041972d5539e229800d703e0898e
MD5 3f8c86f0c7d2faf8461d31fda587e4fe
BLAKE2b-256 d4754fdbb0870dac0a34e364d220b762d49169186e0c9b1a8221eb440229f676

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