Skip to main content

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

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)

Source distribution for PhysicalQuantities 1.1.1
File Size Uploaded
PhysicalQuantities-1.1.1.tar.gz 229.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for PhysicalQuantities 1.1.1
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

1.1.1 This release

2 release files

0.9.1

1 release file

0.9.0

1 release file

0.8.0

1 release file

0.7.0

1 release file

0.6.7

1 release file

0.6.5

1 release file

0.6.1

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page