PhysicalQuantities is a Python module that allows calculations to be aware of physical units. Built-in unit conversion ensures that calculations will result in the correct unit.
The main goals are:
- easy use, especially conversion, scaling and interoperating with different units
- focus on using units for engineering tasks
- provide logarithmic dB calculations
- allow seamless Numpy array operation
The module also contains an extension for IPython. This allows much simplified usage by typing in physical quantities as number and unit:
>>> a = 1m ; b = 1s
>>> print("a=", a, ", b=",b,", a/b=", a/b)
a= 1 m , b= 1 s , a/b= 1.0 m/s
>>> u = 10V
>>> u.dB
>>> 20.0 dBV
Metadata
Release files for PhysicalQuantities 1.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| PhysicalQuantities-1.1.1.tar.gz | 229.4 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| PhysicalQuantities-1.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 262.5 kB
Release files / PhysicalQuantities-1.1.1.tar.gz
| Download URL | PhysicalQuantities-1.1.1.tar.gz |
|---|---|
| Size | 229.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
434e35773ebb2226b24c987b7ab5c2902ee9f7634b9ee6bddb512c0a0ba6cb10
|
|
BLAKE2b-256 checksum How to use checksums |
f70b592a534ef4224a446829b6ff5a20feb326157b10d8ce5654cbb818eed05c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.3
|
Release files / PhysicalQuantities-1.1.1-py3-none-any.whl
| Download URL | PhysicalQuantities-1.1.1-py3-none-any.whl |
|---|---|
| Size | 33.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
04cb2229dbba96ebc39f0c6637a8f6425b127e316230232ad15997eef4c88d30
|
|
BLAKE2b-256 checksum How to use checksums |
10c9e919a6d5291e2be6f0da3f4815dba997fc415eff343bf5a779a5fb4afca7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.3
|
Security for PhysicalQuantities 1.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.