py3-humanfriendly

human-friendly output for Python text interfaces

WWW CVSWeb GITHub
  1. Package version
    py3-humanfriendly-10.0
  2. Maintainer
    The OpenBSD ports mailing-list

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.

  • python3

  • lang/python/3.10
  • devel/py-build,python3
  • devel/py-installer,python3
  • devel/py-setuptools,python3
  • devel/py-wheel,python3

  • lang/python/3.10