A package that easily lets you find nearest E-series values and printing values with Si prefixes.
Project description
EEValues
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
Release history Release notifications | RSS feed
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.1.0.tar.gz
(6.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file eevalue-2.1.0.tar.gz.
File metadata
- Download URL: eevalue-2.1.0.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f0299df72b7cb67da8e454c54e7083a50a56e555e5ad2ed1970667f01dd87f71
|
|
| MD5 |
917b222c1865d53d72a56be33a5cebfd
|
|
| BLAKE2b-256 |
3169ef773c74e2b1ea83b8bcce3fa16f00bbe3a7edc4ab7f2fe6c7cac4e1aaa7
|
File details
Details for the file eevalue-2.1.0-py3-none-any.whl.
File metadata
- Download URL: eevalue-2.1.0-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
62f1ea991fb863e2d40e116cdb3775f704aced6fb181c8bf29df86b285a5a0ca
|
|
| MD5 |
4b266033259a89f920291a39c2605bc9
|
|
| BLAKE2b-256 |
d0957b57bf98d020cf00e5d02227b786219071a6be8974b7e11c8de81e4e6f88
|