Python CLI tool for converting units of length, time, weight, and temperature
- Length conversions: meters, kilometers, feet, inches, centimeters
- Time conversions: seconds, minutes, hours, days, years
- Weight conversions: grams, kilograms, pounds, ounces, tonnes
- Temperature conversions: Celsius, Fahrenheit, Kelvin
- Accepts flexible input: numbers (
1-4
) or keywords (length
,time
,weight
,temperature
) - Easy-to-read CLI interface
- Clone the repository:
git clone https://github.com/PrathamSharma7/Unit-Conversions-using-Python.git
2.Navigate to the project folder:
cd Unit-Conversions-using-Python
Make sure you have Python 3 installed.
- Run the main script:
python main.py
Follow the prompts to select a category and conversion type, then enter the value to convert.
This is the unit conversion tool.
You can use the 'conversions' module to perform various unit conversions.
1. Length conversions
2. Time conversions
3. Weight conversions
4. Temperature conversions
Enter the category: length
1. Meters to Kilometers
2. Kilometers to Meters
3. Feet to Meters
4. Meters to Feet
...
Enter your choice: 1
Enter the value to convert: 1500
1500 meters is 1.5 kilometers
Contributing Feel free to open issues or submit pull requests to improve the tool 😄