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 envenv/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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file numpretty-1.0.3.tar.gz.
File metadata
- Download URL: numpretty-1.0.3.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.10.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5a5c5ce78ee578e46f992cf8c22f990515752748abf5683b603189cc9f94211e
|
|
| MD5 |
4260ca805618a9c1a5790bf5e68f0ad4
|
|
| BLAKE2b-256 |
b9164c70af190cbd430e6a0cff5bdfc1db6a1e27ba8d6d3a59ea71921da34423
|
File details
Details for the file numpretty-1.0.3-py3-none-any.whl.
File metadata
- Download URL: numpretty-1.0.3-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.10.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
18e7bffff42d6adeaa17bb211e2b694202dbae60e51ed008e411438b058e0173
|
|
| MD5 |
4eaec5bd86f0ce66b5e4396784f3070e
|
|
| BLAKE2b-256 |
182a6da3b0489000884ed69aed185d82b393580116bd52279a6216ca3d5c51c5
|