Skip to main content

Metaunit is python package for unit conversion.

Project description

Metaunit is Python package for unit conversion. metaunit will convert you metric values. You only have to pass the desired unit values inside as parameter of the method.

Install

pip install metaunit

How to use

from metaunit import *

cm_to_mm = centimeters_to_millimeters(1)

kg_to_g = kilograms_to_grams(20)

l_to_ml = liters_to_milliliters(5)

Available metric conversions

  • centimeters to millimeters

  • decimeters to entimeters

  • meters to centimeters

  • meters to decimeters

  • kilometers to meters

  • square centimeters to square millimeters

  • square meters to square centimeters

  • hectares to square meters

  • square Meters to hectares

  • square Kilometers to square Meters

  • cubic centimeters to cubic millimeters

  • cubic decimeters to cubic centimeters

  • cubic meters to cubic centimeters

  • cubic meters to cubic decimeters

  • grams to milligrams

  • decagrams to grams

  • kilograms to grams

  • tonnes to kilograms

  • gigagrams to megagrams

  • centiliters to milliliters

  • deciliters to centiliters

  • liters to milliliters

  • liters to deciliters

  • kiloliters to liters

  • bytes to bit

  • kilobyte to byte

  • megabyte to kilobytes

  • gigabyte to megabytes

  • terabytes to gigabyte

  • petabytes to terabyte

  • exabyte to petabytes

  • zettabyte to exabytes

  • yottabyte to zettabytes

Change Log

0.0.8 (10/04/2021)

  • Eighth Release

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

metaunit-0.0.8.tar.gz (3.4 kB view details)

Uploaded Source

File details

Details for the file metaunit-0.0.8.tar.gz.

File metadata

  • Download URL: metaunit-0.0.8.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.3

File hashes

Hashes for metaunit-0.0.8.tar.gz
Algorithm Hash digest
SHA256 eaad38a3b5d193e37161924847be497a74917a4cad79c6c9e8b38c3cde107dad
MD5 3d349f80c7fd8d69d15e5e5203063dad
BLAKE2b-256 f1e1ccf4174811ce9e25f5ec470a471c8a0164aeebeb005f8ef1549fe565063e

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