Python unit converter with a Tkinter interface for easy and precise conversions across various measurements like force, length, and mass
Project description
Metricus
Getting Started • Collaborators • Contribute • License • Preview
This Python-based unit converter is a simple and efficient tool for converting measurements between various units, such as force, length, mass, and others, including complex operations like displacement. It features an intuitive graphical user interface built with Tkinter, allowing users to navigate and perform conversions easily. The converter returns precise results, formatted with or without the unit abbreviation for easy readability.
🚀 Getting started
pip install Metricus
Usage Example
from Metricus import MetricusGUI
from Metricus import temperature_converter
# Converting temperatures
temp_celsius = 25
temp_rankine = temperature_converter(temp_celsius, 'celsius', 'rankine')
print(f"{temp_celsius} degrees Celsius equals {temp_rankine} Rankine")
# Initializing and running the graphical interface
MetricusGUI()
🌟 Preview
Below is a preview of the Metricus graphical user interface (GUI):
Simple Conversions:
Complex Conversions:
The GUI is built with Tkinter and provides an intuitive way to perform unit conversions quickly and accurately.
Prerequisites
- Python 3.8+
- Tkinter (included in Python's standard library)
Cloning
git clone https://github.com/guifreschi/Metricus
Starting
Clone the repository git clone https://github.com/guifreschi/Metricus
Navigate into the project directory cd Metricus
Create a virtual environment python -m venv venv
Activate the virtual environment
- On Windows venv\Scripts\activate
- On Unix or MacOS source venv/bin/activate
Install Metricus pip install -e .
🤝 Collaborators
This project is maintained and created by:
|
Guilherme Freschi |
Yaron Buchler |
📫 Contribute
git clone https://github.com/guifreschi/Metricusgit checkout -b feature/NAME- Follow commit patterns
- Open a Pull Request explaining the problem solved or feature made, if exists, append screenshot of visual modifications and wait for the review!
Documentations that might help
📝 How to create a Pull Request
📝 License
This project is licensed under the MIT License. See the LICENSE file for details.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file metricus-0.1.tar.gz.
File metadata
- Download URL: metricus-0.1.tar.gz
- Upload date:
- Size: 42.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d865bb9e199a868d53d926d1c2f793cb598b4446ad6ca245faabf759390b24cb
|
|
| MD5 |
ef5224c06ca46af6f04bde36b3a62b71
|
|
| BLAKE2b-256 |
167eba412cab3a60094f9e18a1ffdb451cb707d196134e0203a958897b6f5d01
|