A simple web app built with Flask that converts between units of length, weight, and temperature.
Project made for: https://roadmap.sh/projects/unit-converter
git clone https://github.com/NicoCodesCode/uniteto.git
cd uniteto
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txtgit clone https://github.com/NicoCodesCode/uniteto.git
cd uniteto
python -m venv .venv
.venv\Scripts\Activate.ps1
pip install -r requirements.txtflask runThe app will be available at http://localhost:5000.
- Length conversions: inch, foot, yard, mile, millimeter, centimeter, meter, kilometer
- Weight conversions: ounce, pound, US ton, milligram, gram, kilogram, tonne
- Temperature conversions: Fahrenheit, Celsius, Kelvin
Navigate to any of the three converters using the links in the app:
/length— convert length units/weight— convert weight units/temperature— convert temperature units
Select the unit to convert from, the unit to convert to, enter a value, and hit convert. Large or very small results are displayed in scientific notation automatically.
pytest