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.2.tar.gz
(3.3 kB
view hashes)
Built Distribution
Close
Hashes for numpretty-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90664d0b28d2b9fa4979af899604de5da245663795964c1b2e83581e9901cc6d |
|
MD5 | c4eb1ae428baec3d6dff67e2d4cc7118 |
|
BLAKE2b-256 | 4a44b426be1045ee8295e7e8bf08920377135f3caef6092ae976679a8589f2b8 |