human-readable
Human Readable
Decision gist · record as of 2026-08-14
Yes. This is a lightweight, dependency-free utility with active maintenance, production-stable status, no known vulnerabilities, and a permissive MIT license. Install it if you need to display numbers, dates, times, or file sizes in human-friendly formats, especially if you need multi-locale support. The low friction and broad feature set make it a practical choice for user-facing output.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low friction: pure Python wheel with no runtime dependencies.
- Active maintenance with last commit on 2026-08-03 and production-stable status.
- Supports Python 3.9 through 3.13.
License · maintenance · safety
MIT (permissive) — MIT license (permissive): you can use this freely in commercial and private projects with minimal restrictions—just include the license notice.
last release 2026-04-24 (112 days) · last repo commit 2026-08-03 · 41 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 150,180 downloads/mo, #10,974 on PyPI
Alternatives
Verify before relying
pip install human-readable
import human_readable
import datetime as dt
# Time delta
print(human_readable.time_delta(dt.timedelta(days=65)))
# Output: "2 months"
# File size
print(human_readable.file_size(1000000))
# Output: "1.0 MB"
# Numbers
print(human_readable.int_word(123455913))
# Output: "123.5 million"What it is and what it does
Human Readable is a pure-Python library that converts common data types—numbers, dates, times, file sizes, and lists—into natural language strings. It handles both simple formatting (e.g., "1.0 MB" for file sizes, "12,345" for comma-separated integers) and more complex conversions (e.g., "2 months" from a timedelta, "123.5 million" from large numbers). The library includes precise time-delta formatting with configurable units and suppression, scientific notation display, and fractional number representation.
The package supports internationalization across 20+ locales, allowing you to activate different language translations at runtime. It also provides a special abbreviated English locale (en_ABBR) that renders compact output like "3s" instead of "3 seconds ago". With no external runtime dependencies, it installs cleanly and works on Python 3.9 and later. The codebase is actively maintained and marked production-stable.
Use it for
- Display file sizes in user-facing interfaces (e.g., "976.6 KiB" for binary or "976.6K" for GNU format).
- Show relative time in logs or dashboards (e.g., "2 minutes ago" or "one minute to seven hours").
- Format large numbers for reports or analytics (e.g., "12.3 billion" instead of 12345591313).
- Localize date/time/number output for international applications using 20+ supported locales.
- Join lists with custom separators and conjunctions (e.g., "Alpha; Bravo or Charlie").
- Render precise time intervals with microsecond-level detail and suppression of unwanted units.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
This is a lightweight, dependency-free utility with active maintenance, production-stable status, no known vulnerabilities, and a permissive MIT license. Install it if you need to display numbers, dates, times, or file sizes in human-friendly formats, especially if you need multi-locale support. The low friction and broad feature set make it a practical choice for user-facing output.
Install
human-readable on PyPI
Before you install
Low friction: pure Python wheel with no runtime dependencies. Active maintenance with last commit on 2026-08-03 and production-stable status. Supports Python 3.9 through 3.13.
License in practice
MIT license (permissive): you can use this freely in commercial and private projects with minimal restrictions—just include the license notice.
Quickstart
pip install human-readable
import human_readable
import datetime as dt
# Time delta
print(human_readable.time_delta(dt.timedelta(days=65)))
# Output: "2 months"
# File size
print(human_readable.file_size(1000000))
# Output: "1.0 MB"
# Numbers
print(human_readable.int_word(123455913))
# Output: "123.5 million"
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 112 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 150,180 / month, #10,974 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9 |
Evidence: human_readable-2.0.3-py3-none-any.whl
Tags
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 › “localized number formatting”
- human-readableConverts numbers, dates, times, file sizes, and lists into…
- humanizeConverts numbers, dates, times, and file sizes into human-readable…
- django-localflavorProvides country-specific form fields, validators, and helpers for…
Give your agent the search over MCP, or paste the wish link into any chat.
More Utilities packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.
Install it if you need to display or transform source code.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
See also humanize · reuters-style · ago · humanreadable · timeago · delta · pytimeparse · pytimeparse2 · numerize · srt