An open API service indexing awesome lists of open source software.

https://github.com/nstechbytes/unit-converter

Unit Converter is a PyQt5-based desktop application for converting units across various categories like Length, Weight, Temperature, and Volume. The application offers an intuitive and user-friendly interface. It’s ideal for users who need a simple and effective unit converter.
https://github.com/nstechbytes/unit-converter

Last synced: over 1 year ago
JSON representation

Unit Converter is a PyQt5-based desktop application for converting units across various categories like Length, Weight, Temperature, and Volume. The application offers an intuitive and user-friendly interface. It’s ideal for users who need a simple and effective unit converter.

Awesome Lists containing this project

README

          

# Unit Converter (PyQt5 Application)

## Overview

This is a PyQt5-based desktop application for converting units across various categories like **Length**, **Weight**, **Temperature**, and **Volume**. The application offers an intuitive and user-friendly interface, including a Windows toolbar icon, functional "Copy" buttons with icons, and a clean, fixed window size layout for consistent use. It’s ideal for users who need a simple and effective unit converter.

## Features

- **Unit Conversion**: Convert between multiple units in categories like Length, Weight, Temperature, and Volume.
- **Copy Functionality**: Copy input and output values to the clipboard using copy buttons with icons.
- **Fixed Window Size**: Ensures the layout remains consistent, with no resizing allowed.
- **Windows Toolbar Icon**: Displays a custom icon on the toolbar and title bar.
- **Stylish Interface**: Clean design with rounded input fields, well-structured layout, and hover effects on buttons.

## Screenshots

![App Icon](https://github.com/NSTechBytes/Projects-Templates/blob/main/Applications/Unit%20Converter/Unit%20Converter.png)

## Requirements

- Python 3.x
- PyQt5

## Installation

1. Clone this repository:

```bash
git clone https://github.com/NSTechBytes/Unit-Converter.git
```

2. Install the required dependencies:

```bash
pip install PyQt5
```

3. Download the icons:
- Place `Unit Converter.png` and `copy.png` in the same directory as the Python script.

4. Run the application:

```bash
python Unit-Converter.py
```

## Usage

1. Enter the value you want to convert in the input field.
2. Select the **Unit Type** (Length, Weight, Temperature, or Volume) from the dropdown.
3. Choose the **From** and **To** units.
4. The converted value will appear in the output field.
5. Click the **Copy** button next to the input or output field to copy the respective value to the clipboard.

## Contributing

Feel free to submit a pull request or file an issue if you find bugs or have suggestions for improvements. Contributions are welcome!

### Steps for Contributing

1. Fork the repository.
2. Create a new branch for your feature (`git checkout -b feature-name`).
3. Make your modifications.
4. Commit your changes (`git commit -m "Description of changes"`).
5. Push to your branch (`git push origin feature-name`).
6. Open a pull request on GitHub.

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

## Acknowledgments

- **PyQt5**: For providing the graphical user interface toolkit.
- Icons sourced from [Icons8](https://icons8.com/) or [Flaticon](https://www.flaticon.com/).