# jmoiron/humanize

python humanize functions

Repository: https://github.com/jmoiron/humanize
Canonical: https://ross.abutalabs.com/products/humanize
Language: Python
License: MIT
License Family: permissive
Last push: 2022-07-17T15:30:47+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 5444, "days_push": 1508, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1705, forks 151 (observed 2026-08-28T04:05:24.838009+00:00)

## What it is
A Python library that converts numbers, dates, times, file sizes, and deltas into human-readable strings like '3 minutes ago' or '1.0 MB'. It supports localization into many languages. This original repo has moved development to python-humanize/humanize.

## Use cases
- turn timestamps into '3 minutes ago' strings
- format file sizes as human-readable MB/KB
- format large integers with commas or words like '1.2 million'
- localize human-readable durations into other languages
- convert timedelta objects into readable durations
- display numbers as words for accessibility

## When to choose
- you need human-friendly formatting of numbers, dates, or file sizes in Python
- you need localized humanization in many languages
- you want a small, MIT-licensed utility with no heavy dependencies

## When to avoid
- you want active development - use the python-humanize/humanize fork instead
- you need machine-parseable formatting rather than human-readable output
- you are not working in Python

## Facets
- artifact type: library
- maturity: maintenance
- function: internationalization, date-time, developer-tools
- domain: developer-tools
- platform: python, cross-platform
- tags: humanization, readable-formatting, file-sizes, natural-language-dates, localization

## Member repositories
- jmoiron/humanize (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:24.838009+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:37:31.920706+00:00, confidence not recorded.
  - readme: https://github.com/jmoiron/humanize (fetched 2026-08-28T04:05:24.838009+00:00, sha 493d26540a3a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
