Skip to main content

Utility to convert time and bytes to human readable format

Project description

Humans

Blazingly fast utility to convert time and bytes into human readable format ⚡

Install

pip3 install humans_formatter

Usage

import humans


print(humans.human_time(100*60)) # 6s

print(humans.human_bytes(1024*1024*1024)) # 1024.00 MiB

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

humans_formatter-0.1.tar.gz (2.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page