Skip to content

The Unit Converter is a Streamlit-based web application designed to simplify unit conversions across categories like length, weight, temperature, time, and speed. With an intuitive interface and real-time calculations, it provides accurate results for both metric and imperial units, making it a handy tool for everyday use.

Notifications You must be signed in to change notification settings

Abdurrehman2003/Streamlit-Unit-Converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unit Converter

image

A Streamlit-based web application for converting units across various categories. This app provides a simple, intuitive, and responsive interface for performing unit conversions quickly and accurately.


Description

The Unit Converter is a user-friendly web application built with Streamlit that allows users to convert units across multiple categories, including length, weight, temperature, time, and speed. It is designed to be fast, reliable, and accessible on any device with a modern web browser.


Features

Supported Conversion Categories

  • Length: Meters, Kilometers, Miles, Feet, Inches, Centimeters, Millimeters, Yards, Nautical Miles
  • Weight: Grams, Kilograms, Pounds, Ounces, Stones, Tons
  • Temperature: Celsius, Fahrenheit, Kelvin
  • Time: Seconds, Minutes, Hours, Days, Weeks, Months, Years
  • Speed: Meters per Second, Kilometers per Hour, Miles per Hour, Feet per Second, Knots

Key Features

  • Intuitive and responsive user interface.
  • Real-time conversion with error handling.
  • Support for both metric and imperial units.
  • Modern and visually appealing design.

Technologies Used

  • Streamlit: A powerful framework for building and deploying data apps.
  • Python: The core programming language used for logic and calculations.
  • HTML/CSS: Custom styling for enhanced UI/UX.

Installation and Usage

Prerequisites

  • Python 3.8 or higher.
  • Pip (Python package manager).

Steps to Run the Application

  1. Clone the Repository:

    git clone https://github.com/Abdurrehman2003/unit-converter.git
    cd unit-converter
  2. Install Dependencies:

    pip install -r requirements.txt
  3. Run the Application:

    streamlit run unitconverter.py
  4. Access the App:

    • Open your web browser and navigate to http://localhost:8501.
    • Use the app to perform unit conversions.

Contributing

We welcome contributions to improve the Unit Converter! Here’s how you can help:

Report Issues

  • If you find a bug or have a feature request, please open an issue on the GitHub Issues page.

Submit Pull Requests

  • Fork the repository.
  • Create a new branch for your feature or bug fix.
  • Commit your changes and push to your fork.
  • Submit a pull request with a detailed description of your changes.

Code Style

  • Follow PEP 8 guidelines for Python code.
  • Use descriptive variable names and include comments where necessary.

License

This project is licensed under the MIT License. See the LICENSE file for details.


Acknowledgments

  • Built with ❤️ using Streamlit.
  • Inspired by the need for a simple and efficient unit conversion tool.

Feel free to explore, contribute, and use the Unit Converter for your needs! 🚀

About

The Unit Converter is a Streamlit-based web application designed to simplify unit conversions across categories like length, weight, temperature, time, and speed. With an intuitive interface and real-time calculations, it provides accurate results for both metric and imperial units, making it a handy tool for everyday use.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published