Skip to content
/ IPinfo Public

Small Python GUI build with Customtkinter, that reveals your current IPv4 Adresse, Geolocation (Country Code) and Country Flag.

Notifications You must be signed in to change notification settings

NiiV3AU/IPinfo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

IPinfo

Small Python GUI build with Customtkinter, that reveals your current IPv4 Adresse, Geolocation (Country Code) and Country Flag.

How it Works

When you start IPinfo you are greeted with a modern looking GUI that displays your IPv4, Geolocation and Country Flag. First you can choose between different APIs. If you press the button it will change to a progressbar and the data from your chosen api and the flag from flagsapi will appear one for another in the GUI. When the process is finished all your data is displayed and the progressbar is now again a button, which can initiate the next refresh if pressed.

How it looks

grafik grafik

v1.0.1 vs v1.0.0

What you can't see here are the nice animations of the button and the credits.

Also fyi if youre wondering why IPinfo shows N/A aka Not Available rather then the actual data, its because you need to click the refresh button at the bottom to start the data collection. If the GUI started with the data already scraped, then the GUI would not feel as responsive as it currently is.

How to Use

Install the newest release here:

Download IPinfo.exe

Or simply run the Python File if you have all Requirements and Dependecies installed:

Download Source Code Check Requirements and Dependencies

Use Cases

Very limited, gets the info as fast as simply visiting BrowserLeaks, IP2Location or ipify in your Browser.

'psst~ it looks cooler :)

Why then, you ask?

The Project teached me new things as using threading for a more responsive gui, scraping the web with bs4 (BeautifulSoup) and improved my overall python skills. I also uploaded the project on GitHub to get some feedback on my code, so I would appreciate it if you would take your time reviewing my code on flaws etc.

Requirements and Dependencies

Programming Language: Python

I used Version 3.12.2 while coding IPinfo

Libraries

Library pip command
requests pip install requests
beautifulsoup4 pip install bs4
customtkinter pip install customtkinter
pillow pip install Pillow

Credits

IP & Geo Data: BrowserLeaks IP2Location ipify
Flag PNGs: FlagsAPI
Fonts: Manrope JetBrains Mono

About

Small Python GUI build with Customtkinter, that reveals your current IPv4 Adresse, Geolocation (Country Code) and Country Flag.

Topics

Resources

Stars

Watchers

Forks

Languages