Skip to main content

Dimensional analysis and unit conversion library

Project description

dimAns

Dimensional analysis and unit conversion library

PyPI - Version GitHub Tag PyPI - Downloads GitHub License

GitHub Actions Workflow Status Codacy Code Quality Badge Codacy Coverage Badge

Installation

pip install --upgrade dimans

If you want to use the calculator, you will need to install the "cli" extra to install some additional dependencies:

pip install --upgrade dimans[cli]

If you are using a Linux distribution like Arch that disallows installing packages using pip, you will need to use a tool such as pipx:

pipx install --upgrade dimans[cli]

Usage

>>> from dimans.units import gram, kilogram, metre
>>> (32_000 * gram).to(kilogram)
<Quantity 32.0 kg>

Calculator

dimans

dimAns Calculator Screenshot: Main ScreendimAns Calculator Screenshot: Command Search

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

dimans-0.0.24.tar.gz (79.5 kB view details)

Uploaded Source

Built Distribution

dimans-0.0.24-py3-none-any.whl (50.6 kB view details)

Uploaded Python 3

File details

Details for the file dimans-0.0.24.tar.gz.

File metadata

  • Download URL: dimans-0.0.24.tar.gz
  • Upload date:
  • Size: 79.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.32.3

File hashes

Hashes for dimans-0.0.24.tar.gz
Algorithm Hash digest
SHA256 97a54fa2ac23575b0db0c09f8f13e7b77eebefc6ba09734d7e3bd7d6b20b01cd
MD5 dd00ace6e4462cd6424d3bce0bee8eab
BLAKE2b-256 9cfceafa3855ad14e7c53e2894b7b2b2c36940785e0d55f22036537f967915e3

See more details on using hashes here.

File details

Details for the file dimans-0.0.24-py3-none-any.whl.

File metadata

  • Download URL: dimans-0.0.24-py3-none-any.whl
  • Upload date:
  • Size: 50.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.32.3

File hashes

Hashes for dimans-0.0.24-py3-none-any.whl
Algorithm Hash digest
SHA256 dbac1a7ce5677a52d3ed284006f3394741930a9f500edc8b7e7c199f4ff5a08e
MD5 8fde96cf19103053ad07c491f809490f
BLAKE2b-256 cac7040de2010cb2cf61fbe0c4868a20a7335dc31210c655757b3721dce24f01

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