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

Examples

Convert length

from anyunit import convert_length

result = convert_length(1, "kilometer", "meter")
print(result) # 1000.0

Convert weight

from anyunit import convert_weight

result = convert_weight(1, "kilogram", "gram")
print(result) # 1000.0

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: anyunit-0.1.2.tar.gz
  • Upload date:
  • Size: 3.7 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.2.tar.gz
Algorithm Hash digest
SHA256 2c5c9f70245dee714b6f81f729e8d5e8aee3b326f992f1752c23a040a3b864b7
MD5 d4b93990e46526fcd841502d22d5ca7a
BLAKE2b-256 77c6dc4a908dada3b2ac3e45633ee6b6d43085ee8e7c02271195acee691f73f1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: anyunit-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8d67a23aee0b2611adea5e77506c3955bbac8f91e7f0a327cf40c9c1100f333f
MD5 139571f6ccd52f215fc860b685639314
BLAKE2b-256 776cb69712c30b483c18cd5ceff6f241259857536974aa62393cee5f157560c3

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