Skip to main content

AnyUnit - Universal unit converter

Project description

AnyUnit - Universal unit converter

Python Version License: MIT

Simple and convenient library for converting physical units.

Installation

pip install anyunit

Quick start

from anyunit import convert_length, convert_weight

print(convert_length(1, "mile", "kilometer"))  # 1.609344
print(convert_weight(1, "gram", "kilogram"))  # 0.001

License

MIT

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

anyunit-0.1.0.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

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

anyunit-0.1.0-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: anyunit-0.1.0.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.10

File hashes

Hashes for anyunit-0.1.0.tar.gz
Algorithm Hash digest
SHA256 afd395b38639451339b70473e6b699b35a2f85b7c08aa0543369e47b2491b73b
MD5 112efb61e0b96f7a8ba8272804eba3b5
BLAKE2b-256 d852b632e6f2fa0821e4d700e95ccc9635ebb82e6fa13213bca15be2d4aba504

See more details on using hashes here.

File details

Details for the file anyunit-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: anyunit-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.10

File hashes

Hashes for anyunit-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 833d022a20835977afce5c341f3ee4803668506f7af702daad74ad3506b9ef19
MD5 04c6276d4582c145b713fe6954d9e3f7
BLAKE2b-256 bb70115982041230b90b47405286b39cbf875b8c46fd9c697e880b48520c0d27

See more details on using hashes here.

Supported by

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