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.0.tar.gz (19.4 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.0-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ip_locator-0.1.0.tar.gz
  • Upload date:
  • Size: 19.4 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.0.tar.gz
Algorithm Hash digest
SHA256 13ad0932eb10a6553de093ae651deed2895a6e2bfeeed24fc752a177e073cdf6
MD5 a6b7d3f16eb8e7aa2ae4bd9f2d940b64
BLAKE2b-256 d52255d9f1eb92e7d6c3c4811cdcd325c957ebcbe8e416855746e123e6544772

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ip_locator-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.4 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2669d81390f485b2df8eedc14fe7ba8b9ac7e513d437d13b285e7878d92f671c
MD5 627d532b65c005be1c2850f3c6a46489
BLAKE2b-256 be4ba4edd0a5e3c94bc1acc42a8ded0cb4de138b09d22740829b41f31d36cc62

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