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.2.tar.gz (10.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

prefixed-0.0.2-py2.py3-none-any.whl (9.4 kB view details)

Uploaded Python 2Python 3

File details

Details for the file prefixed-0.0.2.tar.gz.

File metadata

  • Download URL: prefixed-0.0.2.tar.gz
  • Upload date:
  • Size: 10.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.5

File hashes

Hashes for prefixed-0.0.2.tar.gz
Algorithm Hash digest
SHA256 e10d827ef65a26ad32fbd4c1c25f7f8d04aa6f1ffad72683bb618456dc134016
MD5 88d3bf9829e34f4e0c36e77247973f94
BLAKE2b-256 dd8d6f3b557a4c588584691c7d569dabe48023afb75e91f6dd39d0c2304e9738

See more details on using hashes here.

File details

Details for the file prefixed-0.0.2-py2.py3-none-any.whl.

File metadata

  • Download URL: prefixed-0.0.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 9.4 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.5

File hashes

Hashes for prefixed-0.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 6016193276a7de8fd60b8bd6858247fec5e0aa5e6d6ea776daa8728ecb9fe507
MD5 858924b2cb0174dc77ec77eb2c35afce
BLAKE2b-256 dc9a11255da91d7839a3dcd8a5f4fae996c7b8942996d971f8a30732d4aa3197

See more details on using hashes here.

Supported by

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