Popular recipes tagged "humanize"http://code.activestate.com/recipes/tags/humanize/2014-07-16T17:21:41-07:00ActiveState Code RecipesBytes-to-human / human-to-bytes converter (Python) 2012-02-02T16:09:52-08:00Giampaolo RodolĂ http://code.activestate.com/recipes/users/4178764/http://code.activestate.com/recipes/578019-bytes-to-human-human-to-bytes-converter/ <p style="color: grey"> Python recipe 578019 by <a href="/recipes/users/4178764/">Giampaolo RodolĂ </a> (<a href="/recipes/tags/bytes/">bytes</a>, <a href="/recipes/tags/conversion/">conversion</a>, <a href="/recipes/tags/converter/">converter</a>, <a href="/recipes/tags/human/">human</a>, <a href="/recipes/tags/humanize/">humanize</a>, <a href="/recipes/tags/string/">string</a>). Revision 15. </p> <p>Here goes.</p> Human readable output for bytes and seconds (Python) 2014-07-16T17:21:41-07:00Mike 'Fuzzy' Partinhttp://code.activestate.com/recipes/users/4179778/http://code.activestate.com/recipes/578910-human-readable-output-for-bytes-and-seconds/ <p style="color: grey"> Python recipe 578910 by <a href="/recipes/users/4179778/">Mike 'Fuzzy' Partin</a> (<a href="/recipes/tags/humanize/">humanize</a>). </p> <p>A set of simple functions to represent bytes or seconds in a human readable form.</p> Humanized representation of a number of bytes (Python) 2010-03-05T17:18:13-08:00Doug Latornellhttp://code.activestate.com/recipes/users/4173209/http://code.activestate.com/recipes/577081-humanized-representation-of-a-number-of-bytes/ <p style="color: grey"> Python recipe 577081 by <a href="/recipes/users/4173209/">Doug Latornell</a> (<a href="/recipes/tags/bytes/">bytes</a>, <a href="/recipes/tags/humanize/">humanize</a>). Revision 2. </p> <p>Convert an integer number of bytes to a string representation. Example: 1024 -> 1 kB</p> <p>Based quite heavily on <a href="http://mail.python.org/pipermail/python-list/2008-August/1171178.html">http://mail.python.org/pipermail/python-list/2008-August/1171178.html</a></p>