humanize is a Python utility library for converting machine-oriented numbers, dates, durations, and sizes into readable text. It can format large integers with separators or abbreviations such as millions and billions. Date and time helpers produce natural expressions such as relative times, human-readable dates, and approximate durations. Precise duration formatting can break intervals into days, hours, minutes, seconds, milliseconds, and smaller units. File sizes can be presented using decimal, binary, or GNU-style notation. The package also supports fractions, scientific notation, and extensive localization so applications can generate these human-friendly representations in many languages. Development of the project has since moved to the python-humanize organization.

Features

  • Human-readable integer formatting
  • Natural date and relative-time descriptions
  • Precise duration formatting
  • Readable file-size conversion
  • Fraction and scientific-notation formatting
  • Localization across numerous languages

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

MIT License

Follow humanize

humanize Web Site

Other Useful Business Software
Fully Managed MySQL, PostgreSQL, and SQL Server Icon
Fully Managed MySQL, PostgreSQL, and SQL Server

Automatic backups, patching, replication, and failover. Focus on your app, not your database.

Cloud SQL handles your database ops end to end, so you can focus on your app.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of humanize!

Additional Project Details

Programming Language

Python

Related Categories

Python Libraries

Registered

2026-09-03