$npx skillfedfor your agent

humanfriendly

Human friendly output for text interfaces using Python

With conditionsPyPI Software DevelopmentReleased Sep 202154.3M downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — humanfriendly-10.0-py2.py3-none-any.whl
v10.0 · released 2021-09-17 · Python >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.* · 3 runtime deps: monotonic, pyreadline, pyreadline3

Yes, if you need simple text formatting and terminal utilities for a mature codebase that won't change. No, if you require active maintenance, security updates, or are starting a new project—the package is abandoned and will not receive fixes for Python or platform changes. Consider it stable-but-frozen.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low install friction with a pure-Python wheel distribution.
  • However, the package is abandoned—last release was 1792 days ago—so no active maintenance or security updates are forthcoming.

License · maintenance · safety

MIT (permissive) — MIT license is permissive, allowing commercial and private use with minimal restrictions; you may use, modify, and distribute the code freely provided you include the license notice.

last release 2021-09-17 (1792 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 54,324,771 downloads/mo, #544 on PyPI

Verify before relying

pip install humanfriendly

from humanfriendly import format_size, parse_size
user_bytes = parse_size('16G')
print(format_size(user_bytes))
  • Whether Windows ANSI support works without colorama on current Windows versions
  • Current state of Python 2.7 compatibility given its end-of-life status
Same gist for agents: .md · .json

What it is and what it does

humanfriendly is a text formatting library that converts raw numeric values—file sizes, durations, byte counts—into strings designed for human consumption. It handles both decimal (base-10) and binary (base-2) multiples, and includes utilities for terminal interaction such as ANSI color and style codes, user prompts that accept numeric or substring selection, and terminal size queries. The package also provides a command-line interface for formatting and parsing operations.

The library is built on three runtime dependencies: monotonic, pyreadline, and pyreadline3. It has been classified as mature and is widely downloaded, but has not been actively maintained since 2021. It targets Python 2.7 and 3.5+, though Windows support is noted as incomplete.

Use it for

  • Format byte counts into human-readable sizes (KB, MB, GB) for CLI tools and logs
  • Parse user input like '16G' or '2.5 hours' into numeric values for calculations
  • Add ANSI text colors and styles to terminal output for better readability
  • Prompt users to select from a list of options by typing a number or substring
  • Display elapsed time in human-friendly format during long-running operations

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need simple text formatting and terminal utilities for a mature codebase that won't change.

No, if you require active maintenance, security updates, or are starting a new project—the package is abandoned and will not receive fixes for Python or platform changes. Consider it stable-but-frozen.

Install

humanfriendly on PyPI

Before you install

Low install friction with a pure-Python wheel distribution. However, the package is abandoned—last release was 1792 days ago—so no active maintenance or security updates are forthcoming.

License in practice

MIT license is permissive, allowing commercial and private use with minimal restrictions; you may use, modify, and distribute the code freely provided you include the license notice.

Quickstart

pip install humanfriendly

from humanfriendly import format_size, parse_size
user_bytes = parse_size('16G')
print(format_size(user_bytes))

Verify before relying

  • Whether Windows ANSI support works without colorama on current Windows versions
  • Current state of Python 2.7 compatibility given its end-of-life status

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
monotonicpyreadlinepyreadline3
MaintenanceAbandoned 1,792 days since the last release
First released
Downloads54,324,771 / month, #544 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 6 - MatureEnvironment :: ConsoleFramework :: Sphinx :: ExtensionIntended Audience :: DevelopersIntended Audience :: System AdministratorsLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: CommunicationsTopic :: Scientific/Engineering :: Human Machine InterfacesTopic :: Software DevelopmentTopic :: Software Development :: Libraries :: Python ModulesTopic :: Software Development :: User InterfacesTopic :: System :: ShellsTopic :: System :: System ShellsTopic :: System :: Systems AdministrationTopic :: TerminalsTopic :: Text Processing :: GeneralTopic :: Text Processing :: LinguisticTopic :: Utilities

Evidence: humanfriendly-10.0-py2.py3-none-any.whl

Tags

Capabilities
format file sizes human readableparse timespan durationterminal text styling ANSIuser friendly number formattingcommand line promptshuman readable outputterminal formatting utilities
Topics
text-formattingterminal-uiabandoned

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “format file sizes human readable”

  • humanfriendlyFormats and parses numbers, file sizes, timespans, and other values…
  • bitmathbitmath converts and performs arithmetic on file sizes across SI and…
  • human-readableConverts numbers, dates, times, file sizes, and lists into…

Give your agent the search over MCP, or paste the wish link into any chat.

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.

permissive licensepure Python
323.3Mdownloads / mo

See also types-humanfriendly · hurry.filesize · python-status · style · delta · nestedtext · ago · termcolor · numerize · pansi