numerize
Convert large numbers into readable numbers for humans.
What it is and what it does
Numerize is a lightweight Python library that formats large numbers into compact, human-readable strings using K (thousands), M (millions), B (billions), and T (trillions) suffixes. It takes a number and optional decimal precision, returning a string representation similar to what social platforms display for follower counts.
The package has no external dependencies and works by dividing numbers by magnitude thresholds and formatting the result with appropriate suffixes. It handles both positive and negative numbers. However, the project has been abandoned since its last release in August 2018, with no active maintenance or updates to address compatibility with newer Python versions.
Use it for:
- Display follower or engagement counts in social media dashboards and analytics UIs
- Format large metrics (views, clicks, impressions) in data visualization or reporting tools
- Abbreviate file sizes or data volumes in storage or bandwidth monitoring interfaces
- Simplify large financial figures (revenue, transactions) in business dashboards
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Converts large numbers into human-readable abbreviated strings (e.g., 1234567 → '1.23M'), similar to social media follower count displays.
Yes, if you need simple number abbreviation and can accept an unmaintained package. The code is straightforward with no dependencies, so it's unlikely to break suddenly, but don't expect bug fixes or Python version updates. For new projects, consider whether a maintained alternative better fits your risk tolerance.
Install
numerize on PyPI
pip
pip install numerizeuv
uv add numerizepoetry
poetry add numerizeInstalling numerize
Before you install
High install friction; package is abandoned (last release 2018-08-14, no commits since 2023-08-10). No runtime dependencies, but stale maintenance means bugs or compatibility issues are unlikely to be addressed.
License in practice
MIT license is permissive; you can use, modify, and distribute this package freely with minimal restrictions.
Quickstart
pip install numerize
from numerize import numerize
print(numerize(1234567.12)) # Output: '1.23M'
Verify before relying
- Whether the package works reliably on modern Python versions beyond 3.4, given its abandoned status
- Whether decimal rounding behavior matches current expectations for edge cases
Package facts
| License | MIT (permissive) |
| Python support | not specified |
| Install friction | high — source build required |
| Runtime dependencies | none |
| Maintenance | abandoned — 2,922 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 90,195/month — #13,612 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: numerize-0.12.tar.gz
Tags
More Utilities packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
charset-normalizerDetects and normalizes text encoding from…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
pluggyPluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
PygmentsPygments is a syntax highlighter that colorizes…
permissive · top 100 on PyPI
sixSix provides utility functions to write Python…
permissive · top 100 on PyPI
hurry.filesizeConverts byte counts into human-readable file…
unclear · top 15,000 on PyPI
human-readableConverts numbers, dates, times, file sizes, and…
permissive · top 15,000 on PyPI
number-parserConverts numbers written in natural language…
permissive · top 15,000 on PyPI
humanfriendlyFormats and parses numbers, file sizes,…
permissive · top 1,000 on PyPI
python-stdnumParses, validates, and reformats standard…
copyleft · top 5,000 on PyPI
agoConverts datetime, timedelta, and timestamp…
permissive · top 15,000 on PyPI
humanizeConverts numbers, dates, times, and file sizes…
permissive · top 1,000 on PyPI
recognizers-text-number-with-unitRecognizes and extracts numbers with units…
permissive · top 15,000 on PyPI
recognizers-text-numberRecognizes and extracts numeric entities…
permissive · top 15,000 on PyPI