textproc/py-humanfriendly 10.0nb2 NetBSD
Human friendly output for text interfaces using Python
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- License
- mit
- Categories
- textproc, python
- Package size
- 145.4 KiB, 974.3 KiB installed
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
| System | Port | Version |
|---|---|---|
| NetBSD | textproc/py-humanfriendly | 10.0nb2 |
| FreeBSD | textproc/py-humanfriendly | 10.0_1 |
| OpenBSD | textproc/py-humanfriendly | 10.0p3 |
| DragonFly | textproc/py-humanfriendly | 10.0_1 |
| HardenedBSD | textproc/py-humanfriendly | 10.0_1 |
| GhostBSD | textproc/py-humanfriendly | 10.0_1 |
Install
Binary package:
pkgin install py311-humanfriendly
From pkgsrc:
cd /usr/pkgsrc/textproc/py-humanfriendly && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 10.0nb2 |
| NetBSD 10.1 aarch64 | 10.0nb2 |
| SmartOS / illumos x86_64 | 10.0nb2 |
| macOS 15 arm64 | 10.0nb2 |
Dependencies
Run dependencies 2
Configuration
No options to configure.
- Service scripts
- none
- Flavors
py312-humanfriendly-10.0nb2,py313-humanfriendly-10.0nb2,py314-humanfriendly-10.0nb2