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.1.0.tar.gz (12.7 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: physicalquantity-0.1.0.tar.gz
  • Upload date:
  • Size: 12.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for physicalquantity-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9546e56a954a2f39dd6cd55623bd210dfdad97f35e5945fb48189b422cc2924f
MD5 f1d42821a613f7fdb43329178a44889e
BLAKE2b-256 1cd9f8d8c249a374f192c0e54382e21334d657a10dac3a6d386776b45b5cd780

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