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
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 details)
File details
Details for the file humans_formatter-0.1.tar.gz
.
File metadata
- Download URL: humans_formatter-0.1.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89739df85ab45101f819ef9b5482ac45bc21fcd9d5de1d42608dd96ad0186cbc |
|
MD5 | ee083b83e56581ae18fe8e5f02efe3b6 |
|
BLAKE2b-256 | d803753687b94d626a6644cad103c5abcf756ddfd4f22dcf7169b6c55d589f20 |