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.pretiffy(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.1.tar.gz
(3.2 kB
view hashes)
Built Distribution
Close
Hashes for numpretty-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 59cb97dd742f729417e5cfc4c8c133ad67888ae33a1514d6388791d39462ec37 |
|
MD5 | 6fa18fff98cf2493e9933e23137ad34a |
|
BLAKE2b-256 | bacf7bf915f95334207107c945aeb0f64331872a2b0ee0445254065b9290af80 |