{"id":24128,"library":"numerize","title":"numerize","description":"Convert large numbers into readable numbers for humans (e.g., 1M, 2.5B). Version 0.12 is stable and mature, with low release cadence (last release 2020).","status":"active","version":"0.12","language":"python","source_language":"en","source_url":"https://github.com/davidsa03/numerize","tags":["human-readable","numbers","formatting","conversion"],"install":[{"cmd":"pip install numerize","lang":"bash","label":"Install via pip"}],"dependencies":[],"imports":[{"note":"numerize is a module; the function is also named numerize. Using 'import numerize' requires numerize.numerize() which may cause confusion.","wrong":"import numerize","symbol":"numerize","correct":"from numerize import numerize"}],"quickstart":{"code":"from numerize import numerize\n\nprint(numerize(1234567))  # Output: 1.23M\nprint(numerize(1000000000))  # Output: 1B\nprint(numerize(999000, 2))  # Output: 999K","lang":"python","description":"Basic usage: convert an integer to a human-readable string."},"warnings":[{"fix":"Consider alternatives like humanize or custom formatting for active maintenance.","message":"The library has not been updated since 2020. It still works but may not support newer Python versions or edge cases (e.g., very large numbers).","severity":"deprecated","affected_versions":">=0.12"},{"fix":"Use string formatting or postprocess if spaces are needed.","message":"The function returns strings like '1.23M' without a space, which may not be ideal for all UI contexts.","severity":"gotcha","affected_versions":"*"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Run 'pip install numerize' and use 'from numerize import numerize'.","cause":"The library is not installed or the import path is wrong.","error":"ModuleNotFoundError: No module named 'numerize'"},{"fix":"Use 'from numerize import numerize' then call numerize().","cause":"Using 'import numerize' and then 'numerize.numerize()' fails if the function is not imported directly.","error":"AttributeError: module 'numerize' has no attribute 'numerize'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}