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.3.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.3-py2.py3-none-any.whl (9.4 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: prefixed-0.0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 e822a7191873ce97d7dcaafa5c7e322632f1bc6597c979da7e389c8d9195516a
MD5 3300d6ab3ee6ef25c1e91fbba82aab0e
BLAKE2b-256 85bb51c69569c0cc4e27871b84f3be663b4389895ff26a8f2cfa034bf1e6c5b4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: prefixed-0.0.3-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.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4b14fa51f645afd00817231f3c7f353c04211e834962c92a3bd04ef01d77a341
MD5 15523386a006f7924e4b9d2a001e2be4
BLAKE2b-256 68e948d7624c3d61727d5aac69153e3fccc437be2e81cad6805627bde51d8118

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