Skip to main content

A package that easily lets you find nearest E-series values and printing values with Si prefixes.

Project description

EEValues

Test and package A simple class for dealing with engieering values

Will print with Si prefix, and has an easy method to get the closest E-series value.

>>> from eevalue import EEValue as EEV
>>> R = EEV(18.91)
>>> str(R.E(48, "ceil"))
19.60
>>> str(EEV(17950.10).E(192,"floor"))
17.80 k
>>> str(EEV('2u2') * 2)
4.40 µ
>>> str(EEV('2K1234', precision=4) * 2)
4.2468 k

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

eevalue-2.0.1.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

eevalue-2.0.1-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file eevalue-2.0.1.tar.gz.

File metadata

  • Download URL: eevalue-2.0.1.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for eevalue-2.0.1.tar.gz
Algorithm Hash digest
SHA256 69d2a754acdae5749f61732105348c217b472ef9a6ec059e728f86077579b2f1
MD5 403d4686da96ee4d4756844f800fa03a
BLAKE2b-256 d536fcff988e38cae7c4fccf03287d12ed46319d9b13a76a181e11956878be32

See more details on using hashes here.

File details

Details for the file eevalue-2.0.1-py3-none-any.whl.

File metadata

  • Download URL: eevalue-2.0.1-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for eevalue-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d28bab1ad7782583d97713e109423267efe96543b1a81e5c520d10cd3d47b38d
MD5 d92ff19d98145412939b86874fe93e83
BLAKE2b-256 b8f768d0e4fb989d4a84467c03aad9a5c3c19f41d2342f68ef4161f6b1b32978

See more details on using hashes here.

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