Skip to main content

Simple library for working with physical quantities

Project description

A simple library for working with physical quantities.

Implements basic dimensional decomposition of physical quantities and provides basic operations (adition, subtraction, multiplication, division, comparison) for working with these quantities.

Support for non-SI units is available but most operations will result in implicit conversions to SI units. Use the as_absolute() or as_relative() methods to convert back to the desired non-SI units.

Note that while this library supports a wide range of the dimentional analysis and related integrity artifacts of working with physical quantities, the prime goal of this library isn’t the dimentional integrity of code, but instead the unified serialization or rather serializisability of physical quantities.

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

physicalquantity-0.0.8.tar.gz (8.5 kB view details)

Uploaded Source

File details

Details for the file physicalquantity-0.0.8.tar.gz.

File metadata

  • Download URL: physicalquantity-0.0.8.tar.gz
  • Upload date:
  • Size: 8.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.8.0 tqdm/4.19.5 CPython/3.6.9

File hashes

Hashes for physicalquantity-0.0.8.tar.gz
Algorithm Hash digest
SHA256 6e41c2df3b90033bc80979e7d52e25a64590e2b3db67d93260b6342eb584ff7a
MD5 65f0c58f9a3cbae8e9276fe3e32ce279
BLAKE2b-256 f44cd75e9b65fef4f1bf3241528b2959bf1c3c28ca0fa4ab369d156e4735c9e7

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