Skip to content

Jacinto27/Phone-Upgrade-Tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Phone Upgrade Tool

Python Console app that tells you which phone to upgrade to if you give it your current phone model.

For more information visit the complete documentation.

Introduction

This utility compares an input phone with a list of phones and, given a set of conditions, outputs all phone models that are an upgrade relative to the input phone sorted by score. The score takes into account several factors, and is adjusted for price. Is can be understood as a 'Value per additional dollar' of the upgradded specs between two phones.

Features

It takes a phone and outputs a list of phones that are better than it ranked by score. The score takes the difference in quality between the input phone and the result phones and adjusts it for the price difference.

It compares: battery, ram memory , storage space, video quality, and screen resolution. Additionally, it has the option to compare OS versions and can even limit results for the same original phone's OS.

It also has a phone data cleaning tool, but this is specifically for the data I used, so it's not expandable or universal.

Getting Started

Download the repository and run the phonecomparisor.py file, adjust the location of the data if needed. It pulls from the 'Processed' folder in the repository, I call it using the NOT AT ALL RECOMMENDED os file location method .dirname, it's not easy to make it run on other PCs so just adjust the location manually by inputting the route to the 'Processed' folder in your computer.

After that's done, answer the prompts as instructed on the console log, ignore the warnings (I'm working on them) and get an output.

The Levenshtein function used to search phones on file isn't always reliable, phone models should be searched with their brand for better results: 'Apple iPhone 14 Pro' or 'Xiaomi Poco X3 Pro' for example. I tried to turn this into an executable for easier deployment, but I don't want to remove my antivirus for that, I'll create a release version when the project is ironed out.

Prerequisites

I used Python 3.11 Additional details in overview.md

Example implementation

Here's a console screenshot of how it would look like to use this code. imagen

Usage

This project is for personal and academic use, it is not intended for commercial use. Please consult the LICENSE file for more information.

Contributing

Feel free to make changes to this tool. Please follow standard git guidelines for feature-branch development through pull requests. Thanks :)

Authors

Me :) Jacinto27

About

Python utility that returns suggested phone upgrades

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published