Metadata-Version: 2.4
Name: phone-locator
Version: 0.1.1
Summary: Phone number geolocation and carrier information tool
Project-URL: Homepage, https://github.com/jmeiracorbal/phone-locator
Project-URL: Repository, https://github.com/jmeiracorbal/phone-locator
Project-URL: Issues, https://github.com/jmeiracorbal/phone-locator/issues
Author: jmeiracorbal
License: MIT License
        
        Copyright (c) 2024 jmeiracorbal
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
License-File: LICENSE
Keywords: carrier,geolocation,lookup,osint,phone,phonenumbers
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Utilities
Requires-Python: <3.14,>=3.8
Requires-Dist: phonenumbers>=8.13.0
Provides-Extra: dev
Requires-Dist: auto-py-to-exe>=2.36.0; extra == 'dev'
Requires-Dist: pyinstaller>=6.15.0; extra == 'dev'
Description-Content-Type: text/markdown

# Phone Locator

[![Python](https://img.shields.io/badge/Python-3.8%2B-blue.svg)](https://python.org)
[![uv](https://img.shields.io/badge/uv-managed-blue.svg)](https://github.com/astral-sh/uv)
[![License](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE)
[![Platform](https://img.shields.io/badge/Platform-Linux%20%7C%20macOS%20%7C%20Windows-lightgrey.svg)](https://github.com/jmeiracorbal/phone-locator)

A command-line tool to get detailed information about phone numbers. Discover location, carrier, timezone, and other details about any phone number.

## Features

- **Phone number analysis** - Get complete information about any phone number
- **Country and region detection** - Country, region, city, and coordinates
- **Carrier details** - Mobile operator and service provider info
- **Timezone identification** - Automatically finds the right timezone
- **Number validation** - Check if phone numbers are valid and possible
- **Format conversion** - International, national, E.164 formats
- **Clean interface** - Colored terminal output

## Installation

### Option 1: Install as command-line tool

Install directly from the repository:

```bash
pip install git+https://github.com/jmeiracorbal/phone-locator.git
```

Or clone and install locally:

```bash
git clone https://github.com/jmeiracorbal/phone-locator.git
cd phone-locator
pip install .
```

After installation, run from anywhere:

```bash
phone-locator
```

### Option 2: Download pre-built executable

1. Go to [Releases](https://github.com/jmeiracorbal/phone-locator/releases)
2. Download the executable for your platform:
   - **Linux**: `phone-locator` (binary)
   - **macOS**: `phone-locator` (binary)
   - **Windows**: `phone-locator.exe` (executable)
3. Run directly without installation

**Linux/macOS:**

```bash
chmod +x phone-locator
./phone-locator
```

**Windows:**

```cmd
phone-locator.exe
```

### Option 3: Run with uv (for development)

```bash
git clone https://github.com/jmeiracorbal/phone-locator.git
cd phone-locator
uv run python main.py
```

## Usage

After installation or running the executable, enter a country code and phone number to get detailed information including location, carrier, timezone, and validity.

## Requirements

- Python 3.8 or higher
- Internet connection (for carrier lookup)

## Data Source

This tool uses the `phonenumbers` library by Google to parse and validate phone numbers with comprehensive metadata.

## Contributing

1. Fork the repository
2. Create a feature branch (`git checkout -b feature/amazing-feature`)
3. Commit your changes (`git commit -m 'Add amazing feature'`)
4. Push to the branch (`git push origin feature/amazing-feature`)
5. Open a Pull Request

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

## Acknowledgments

- **Original author**: [HUNXBYTS](https://github.com/HUNXBYTS)
- **Modified by**: [jmeiracorbal](https://github.com/jmeiracorbal)
- **Based on**: Ghost Tracker tool

## Support

If you run into any issues or have questions:
- Create an issue on GitHub
- Check the [Releases](https://github.com/jmeiracorbal/phone-locator/releases) page for the latest version

---

**Note**: This tool is for educational and legitimate purposes. Respect privacy and use it responsibly.
