BSD Ports

textproc/py-humanfriendly 10.0p3 OpenBSD

human-friendly output for Python text interfaces

System
OpenBSD
Repository
OpenBSD ports
Maintainer
The OpenBSD ports mailing-list <[email protected]>
Categories
textproc, lang/python

Description

The functions and classes in the humanfriendly package can be used to make text interfaces more user friendly. Some example features:

  • Parsing and formatting numbers, file sizes, pathnames and timespans in simple, human friendly formats.

  • Easy to use timers for long running operations, with human friendly formatting of the resulting timespans.

  • Prompting the user to select a choice from a list of options by typing the option's number or a unique substring of the option.

  • Terminal interaction including text styling (ANSI escape sequences), user friendly rendering of usage messages and querying the terminal for its size.

In the other systems

SystemPortVersion
OpenBSDtextproc/py-humanfriendly10.0p3
FreeBSDtextproc/py-humanfriendly10.0_1
NetBSDtextproc/py-humanfriendly10.0nb2
DragonFlytextproc/py-humanfriendly10.0_1

Install

Binary package:

pkg_add py3-humanfriendly

From the ports tree:

cd /usr/ports/textproc/py-humanfriendly && make install

Dependencies

Build dependencies 5
Run dependencies 1
Required by 1