Skip to main content

IP address geolocation and network information tool

Project description

IP Locator

Python uv License Platform

A command-line tool to get detailed geolocation and network information about IP addresses. Discover location, ISP, timezone, coordinates, and other details about any IP address.

Features

  • IP address geolocation - Detailed location information for any IP
  • Network information - ISP, ASN, organization details
  • Geographic data - Country, city, region, coordinates
  • Timezone information - Current time, UTC offset, DST status
  • Map integration - Direct Google Maps link with coordinates
  • Clean interface - Colored terminal output

Installation

Option 1: Install as command-line tool

Install directly from the repository:

pip install git+https://github.com/jmeiracorbal/ip-locator.git

Or clone and install locally:

git clone https://github.com/jmeiracorbal/ip-locator.git
cd ip-locator
pip install .

After installation, run from anywhere:

ip-locator

Option 2: Download pre-built executable

  1. Go to Releases
  2. Download the executable for your platform:
    • Linux: ip-locator (binary)
    • macOS: ip-locator (binary)
    • Windows: ip-locator.exe (executable)
  3. Run directly without installation

Linux/macOS:

chmod +x ip-locator
./ip-locator

Windows:

ip-locator.exe

Option 3: Run with uv (for development)

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

Usage

After installation or running the executable, enter an IP address to get detailed information including geolocation, ISP, timezone, and network details.

Requirements

  • Python 3.8 or higher
  • Internet connection (for IP lookup API)

Data Source

This tool uses the ipwho.is API to fetch IP address information.

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 file for details.

Acknowledgments

Support

If you run into any issues or have questions:

  • Create an issue on GitHub
  • Check the Releases page for the latest version

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ip_locator-0.1.1.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ip_locator-0.1.1-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file ip_locator-0.1.1.tar.gz.

File metadata

  • Download URL: ip_locator-0.1.1.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.7

File hashes

Hashes for ip_locator-0.1.1.tar.gz
Algorithm Hash digest
SHA256 7357a283379916f73cea57826369b08019d46c1533f0ec68eeaebe0e675fb7ab
MD5 bef3fdd3324935f7453363c25251615c
BLAKE2b-256 09171ce99b7f3fa1458046b21143aebe7bd477e983191169c45ef54ab333e7c4

See more details on using hashes here.

File details

Details for the file ip_locator-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: ip_locator-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.7

File hashes

Hashes for ip_locator-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5153a81b0183bae3596bd8ce3261c14b90bc239195720208c31fd524b71d90ae
MD5 322045d95a447acb2c465c944856d86a
BLAKE2b-256 f36b2cfdac8b0ecadbe61608c5e837e59a5004f60b9d3abea669684de92870ee

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page