Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📞 Phone Info Checker

A simple Python project to check country, carrier, and timezone information for any phone number using the phonenumbers library.


🚀 Features

  • Validate and format phone numbers
  • Detect country, carrier, and time zone
  • Save results to results.txt
  • Simple CLI interface

⚙️ Setup Instructions

  1. Clone or download this project folder:

    git clone https://github.com/Mamoonkhan11/Phone-Validation__Python
    cd Phone-Validation__Python
  2. Create a virtual environment (recommended):

    python -m venv .venv
    source .venv/bin/activate   # On Windows use: .venv\Scripts\activate
  3. Install dependencies:

    pip install -r requirements.txt

▶️ Run the Project

python main.py

Example:

📞 Phone Info Checker
Type 'exit' to quit

Type phone number with country code: +14155552671

✅ Lookup successful:

Formatted: +14155552671
Country_code: 1
National_number: 4155552671
Region: California
Carrier: AT&T Wireless
a
Result saved to results.txt

🧱 Project Structure

phoneinfo/
├── src/
│   ├── __init__.py
│   ├── phone_info.py
│   ├── utils.py
│
├── tests/
│   └── test_phone_info.py # Optional
│
├── requirements.txt
├── README.md
└── main.py

📜 License

This project is released under the MIT License — feel free to modify and use it.


About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages