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.

Files for columns, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size columns-0.0.2-py3-none-any.whl (3.2 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size columns-0.0.2.tar.gz (2.4 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page