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.
- Host: GitHub
- URL: https://github.com/nstechbytes/unit-converter
- Owner: NSTechBytes
- License: apache-2.0
- Created: 2024-09-23T15:00:07.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-23T15:14:00.000Z (almost 2 years ago)
- Last Synced: 2025-01-28T11:24:44.946Z (over 1 year ago)
- Language: Python
- Size: 47.9 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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

## 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/).