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
Filename, size columns-0.0.2.tar.gz (2.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page