Skip to main content

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

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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dimans-0.0.27-py3-none-any.whl (50.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dimans-0.0.27.tar.gz
  • Upload date:
  • Size: 32.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for dimans-0.0.27.tar.gz
Algorithm Hash digest
SHA256 9a24a86be794c68cf7ba6c0dea14e355895725702779ff479d228ae197432a8d
MD5 8bfac4c9578f5bfc723438ef597243ca
BLAKE2b-256 3fe554e6f43c1575383df61851705a85df592fe42ff4ed9183574565b363d48a

See more details on using hashes here.

Provenance

The following attestation bundles were made for dimans-0.0.27.tar.gz:

Publisher: publish.yml on emreozcan/dimAns

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: dimans-0.0.27-py3-none-any.whl
  • Upload date:
  • Size: 50.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for dimans-0.0.27-py3-none-any.whl
Algorithm Hash digest
SHA256 66b46fbc7baff5fb899a4131272994b797034c477ed99d7fe214c57c844a60ea
MD5 5786ac78bc6edda5e40cf175e49afb61
BLAKE2b-256 30cc5791174a1b835e5837eef36e3ce720cfd543e96077876f6b07bb50ac9c6c

See more details on using hashes here.

Provenance

The following attestation bundles were made for dimans-0.0.27-py3-none-any.whl:

Publisher: publish.yml on emreozcan/dimAns

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page