Skip to main content

Prefixed alternative numeric library

Project description

Prefixed provides an alternative implementation of the built-in float

Key differences:

  • Format type ‘h’ will output with an SI prefix (ex: k for 1000)

  • Format type ‘j’ will output with an IEC prefix (ex: Ki for 1024)

  • Format type ‘J’ will output with an IEC prefix minus the i (ex: K for 1024)

  • When initializing from strings, SI and IEC prefixes are honored
    • SI Example: Float(‘3k’)

    • IEC Example: Float(‘3Ki’)

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

prefixed-0.0.1.tar.gz (10.2 kB view hashes)

Uploaded Source

Built Distribution

prefixed-0.0.1-py2.py3-none-any.whl (9.3 kB view hashes)

Uploaded Python 2 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