Skip to main content

PRINT A LIST IN COLUMNS

Does what it says on the tin.

img

Print a list in columns based on the size of the current terminal, favoring vertical space over horizontal, i.e) use all available vertical space before creating additional columns.

INSTALLATION

pip install columns

CLI USAGE

usage: columns [-h] list [list ...]

Print a list in columns.

positional arguments:
  list        A list to print.

optional arguments:
  -h, --help  show this help message and exit

EXAMPLES

columns items{0..256}

columns $(shuf -n 100 /usr/share/dict/words)

Metadata

Release files for columns 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for columns 0.0.2
File Size Uploaded
columns-0.0.2.tar.gz 2.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for columns 0.0.2
File Interpreter ABI Platform
columns-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 5.7 kB

Release files / columns-0.0.2.tar.gz

Download URL columns-0.0.2.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
9f2e6600a56bf0ac5a94ceeb867aaf949edb70e63852a13baabbfe0b2cbd1371
BLAKE2b-256 checksum
How to use checksums
ccf8a9c53422dfdc3f489c2168f7e7f2e74fbab1b0488c03270a062ff4565209
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / columns-0.0.2-py3-none-any.whl

Download URL columns-0.0.2-py3-none-any.whl
Size 3.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d676301be7b0417e2ded8d162984df03e04388523e0e0ac9050e28f63720f36c
BLAKE2b-256 checksum
How to use checksums
726e439bf76594a085a3d1c69d7ecd8077256015bde84631733baac5a876c46d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page