Human friendly input/output for text interfaces using Python
Browse cluster: HTML Parsing & Error Tracking →The humanfriendly package is a Python library designed to make text interfaces more user-friendly by providing utilities for parsing and formatting numbers, file sizes, pathnames, and timespans in human-readable formats. It includes features for easy-to-use timers, interactive prompts that let users select from options, and terminal interaction capabilities including ANSI text styling and terminal size querying. The project is written in Python and is maintained by Peter Odding, with support for Python 2.7, 3.5+, and PyPy on Linux and macOS, and includes a command-line interface for various formatting and parsing operations.