BSD Ports

wip/py-columnize 0.3.11 NetBSD

Format a simple (i.e. not nested) list into aligned columns

System
NetBSD
Repository
pkgsrc-wip
Maintainer
[email protected]
License
mit
Categories
wip, devel, python

Description

In showing a long lists, sometimes one would prefer to see the value arranged aligned in columns. Some examples include listing methods of an object, listing debugger commands, or showing a numeric array with data aligned.

This is a Python module to format a simple (i.e. not nested) list into aligned columns. A string with embedded newline characters is returned.

Install

From pkgsrc-wip (no binary package):

cd /usr/pkgsrc/wip/py-columnize && make install clean

Dependencies

No port depends on this one.