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.1.tar.gz (3.6 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.1-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: anyunit-0.1.1.tar.gz
  • Upload date:
  • Size: 3.6 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.1.tar.gz
Algorithm Hash digest
SHA256 7c1b5dab008aadccbf4ae62457a61ad44f4eff6b3c387dab2eba83c8b7f0f849
MD5 1d32e7cfc1e44785b43851c4145659ba
BLAKE2b-256 43f4b57b626d1720cac9ce4d4f91de7536ea5e33600cfcdef157d320c1e7bb18

See more details on using hashes here.

File details

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

File metadata

  • Download URL: anyunit-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.7 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fd45a16fb420c11f6e22630cc08563244cda56206431e8c859cb9e544bc20c0a
MD5 28ab12f63e66bd4f115db25757dcae4f
BLAKE2b-256 c944a632f5e182065c3405f9f8ab456d1e62fb47da63bef6010ab6f2fca5e56a

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