big-num-format
big-num-format is a package which converts very large numbers into human readable text.
Installation
Simply type the following in a command line to install the package:
pip install big-num-format
Usage
Use the format_num() function to format numbers.
e.g.
from big_num_format import *
format_num(123456789.55)
# '123 million, 456 thousand and 789.55'
format_num(1e50/3, shorten=True, precision=5, decimal_precision=10)
# '33QDe 333qDe 333TDe 333DDe 333.3359375UDe'
Release files for big-num-format 0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| big_num_format-0.4-py3-none-any.whl | Python 3 | none | any | Details |
Release files / big_num_format-0.4-py3-none-any.whl
| Download URL | big_num_format-0.4-py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
31e60ab0fa70e37389a2af57b45590898653660b22906c07866428abd47c306b
|
|
BLAKE2b-256 checksum How to use checksums |
3d729c5b54d9ba8f87c0c5aaf6e52be66ba7b4322f448b1c905ca0d6f11c8e5a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.7
|