Skip to content

adamriaz/weight-converter

Repository files navigation

Weight Converter

PyPI version codecov Documentation Status

A python module for converting weight units.

Install

To install Weight Converter, run the following command:

pip install weight-converter

Usage

Import the module and unit class

from weight_converter.convert import Kilograms

kilograms = Kilograms(value=1)
lbs = kilograms.to_pounds()

Documentation: https://weight-converter.readthedocs.io/en/latest/