Skip to main content

Print a list in columns.

Project description

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)

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

columns-0.0.2.tar.gz (2.4 kB view hashes)

Uploaded Source

Built Distribution

columns-0.0.2-py3-none-any.whl (3.2 kB view hashes)

Uploaded Python 3

Supported by

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