Skip to main content

Numpretty converts numbers into their human-readable form, efficiently.

Project description

numpretty

Numpretty converts numbers into their human-readable form, efficiently.

Installation

  1. (optional but recommended) Create a venv and activate it: python3 -m venv env env/scripts/activate

  2. 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)

Uploaded Source

Built Distribution

numpretty-1.0.3-py3-none-any.whl (3.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page