Skip to content

AditiSah05/Track-Phone-Number-Location-Using-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

📱 Number Tracker with Location Map

A modern and interactive Phone Number Tracker Application built using Python (Tkinter).
It detects the country, carrier, timezone, and currency of a phone number, and displays its approximate location on an interactive map powered by Folium and Leaflet.js.


🌟 Features:

  • 🔢 Track phone numbers worldwide (with country code)
  • 🌍 Display country, carrier, timezone, and currency
  • 🗺️ View tracked location on an interactive map
  • 💡 Clean, simple, and responsive Tkinter UI
  • ⚙️ Smart error handling for invalid or incomplete inputs
  • 🔐 Uses only publicly available data (for educational use)

🧠 How It Works

  1. Enter a valid phone number (e.g., +919876543210)
  2. The app validates and analyzes the number using the phonenumbers library
  3. Extracts country, service provider, and timezone
  4. Uses geopy to fetch latitude and longitude
  5. Generates a Folium-based interactive map and opens it automatically in your browser

🧰 Technologies Used:

Component Library/Framework Description
🖥️ GUI Tkinter Python’s built-in GUI framework
🌐 Number Processing phonenumbers Parses and validates international phone numbers
🗺️ Mapping folium Creates dynamic interactive maps
📍 Geocoding geopy Converts location names to coordinates
🌎 Visualization Leaflet.js JavaScript library used by Folium for maps
🧮 Core Logic Python 3.x Backend logic and app control

🖼️ Interactive Map Preview

Here’s an example of a map generated by the application (centered in India 🇮🇳):

html Tracked Location Lat: 22.3511 Lon: 78.6677 (The HTML map auto-opens in your default browser and allows zoom & pan interaction.)

You can find it saved automatically as:

Copy code Location_Map.html 🧩 Installation

1️⃣ Clone the Repository

bash

Copy code

git clone https://github.com/your-username/number-tracker.git cd number-tracker 2️⃣ Install Dependencies

bash

Copy code

pip install phonenumbers folium geopy 3️⃣ Run the Application bash

Copy code

python app.py

🖥️ Example Output:

image

🚀 Future Enhancements :

🌐 Integration with real-time APIs for city-level accuracy

📱 Option to visualize multiple numbers on a single map

🧭 Dark mode and enhanced UI

🔄 Export report as PDF or CSV

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published