Skip to content

KaonWry/Patriot-Converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Patriot Converter

There are two types of countries: those that use the metric system and the one that put a man on the moon.

About

Patriot Converter, the definitive unit conversion tool that proudly embodies the spirit of freedom, ingenuity, and the uniquely American way of measuring things. Whether you're calculating the distance in bald eagles or converting weight in Big Macs, this app is here to serve. Because who needs the metric system when you got the creative freedom?


Features

  • Supports multiple conversion categories:

    • Length: inches, feet, yards, miles, bananas, football fields, M4 carbines, and more!
    • Volume: teaspoons, tablespoons, fluid ounces, cups, barrels, Olympic swimming pools, and more!
    • Weight: pounds, stones, tons, Big Macs, semi-trucks, elephants, and more!
  • Clean, intuitive, and easy-to-use UI

  • Made for true patriots


Installation

For those brave souls who want to build the app themselves, follow these steps. Otherwise, feel free to download the pre-built executable from the releases page and extract the downloaded file.

Requirements

  • Python 3.x
  • PyInstaller

Steps to Build

  1. Download the repository or clone it:

    git clone https://github.com/your-repo/PatriotConverter.git
    cd PatriotConverter
  2. Run the build.bat file:

    • Inside the project folder, you’ll find a build.bat file.
    • Simply run build.bat to build the app.

    This will install necessary dependencies, set up PyInstaller, and create the executable. The output will be located in the /dist/ folder.

    The build.bat script will:

    • Install dependencies listed in requirements.txt
    • Use PyInstaller to create the executable
    • Include necessary .ui files for the app

    This will create the executable in the /dist/ folder.


Usage

Run the Patriot Converter executable directly from the dist folder.

Features in Action:

  • Convert Length (e.g., inches, feet, miles, bananas) Screenshot of length conversion

  • Convert Volume (e.g., teaspoons, gallons, Olympic swimming pools) Screenshot of volume conversion

  • Convert Weight (e.g., pounds, Big Macs, elephants) Screenshot of weight conversion


Acknowledgements

  • PySide6: For providing the powerful and flexible framework that allows me to make this beautiful shitpost.

  • To my American friends: Thank you for keeping the imperial system alive. Your dedication to using units like "basketball courts" and "bananas" continues to inspire the rest of us. This app is for you, and we’re all here, quietly waiting for the day you finally adopt the metric system!

Patriot Converter: Converting units, the American way!