Numpretty converts numbers into their human-readable form, efficiently.
Project description
numpretty
Numpretty converts numbers into their human-readable form, efficiently.
Installation
-
(optional but recommended) Create a venv and activate it:
python3 -m venv env
env/scripts/activate
-
Install the package:
pip install numpretty
Usage (Example)
import numpretty as npf
print(npf.prettify(1000))
# prints 1K
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
numpretty-1.0.3.tar.gz
(3.3 kB
view hashes)
Built Distribution
Close
Hashes for numpretty-1.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18e7bffff42d6adeaa17bb211e2b694202dbae60e51ed008e411438b058e0173 |
|
MD5 | 4eaec5bd86f0ce66b5e4396784f3070e |
|
BLAKE2b-256 | 182a6da3b0489000884ed69aed185d82b393580116bd52279a6216ca3d5c51c5 |