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.1.0.tar.gz (38.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.1.0-py2.py3-none-any.whl (9.7 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: prefixed-0.1.0.tar.gz
  • Upload date:
  • Size: 38.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.1.0.tar.gz
Algorithm Hash digest
SHA256 bc9cd20a465b2a16785d4e08bf71879825e524d7618a086aabe4afacc4f25a89
MD5 fcbdbfe05e2776cfb9d069c4d15add54
BLAKE2b-256 b479e531fc88e9e17c590cfbef3fb6c3cef778c420fe130ba69909925435f3a6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: prefixed-0.1.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 9.7 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.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 730db6ce52b948c7a8d09e7996b7965af63e6cbdcca579d0752c361cf91d7bd7
MD5 0cc1a31a59b278430630b8b0133572ce
BLAKE2b-256 9f05a53dfee3ce7bac7d718f4ccb3905bb7b707db5a2222ad40944f03a9c6094

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