Skip to main content

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.

Metadata

Release files for ip-locator 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ip-locator 0.1.1
File Size Uploaded Provenance Actions
ip_locator-0.1.1.tar.gz 5.8 kB Without provenance Details for ip_locator-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ip-locator 0.1.1
File Interpreter ABI Platform Actions
ip_locator-0.1.1-py3-none-any.whl Python 3 none any Details for ip_locator-0.1.1-py3-none-any.whl

Total release size: 12.0 kB

Release files / ip_locator-0.1.1.tar.gz

Download URL ip_locator-0.1.1.tar.gz
Size 5.8 kB
Tags Source
SHA-256 checksum
How to use checksums
7357a283379916f73cea57826369b08019d46c1533f0ec68eeaebe0e675fb7ab
BLAKE2b-256 checksum
How to use checksums
09171ce99b7f3fa1458046b21143aebe7bd477e983191169c45ef54ab333e7c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.7

Release files / ip_locator-0.1.1-py3-none-any.whl

Download URL ip_locator-0.1.1-py3-none-any.whl
Size 6.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5153a81b0183bae3596bd8ce3261c14b90bc239195720208c31fd524b71d90ae
BLAKE2b-256 checksum
How to use checksums
f36b2cfdac8b0ecadbe61608c5e837e59a5004f60b9d3abea669684de92870ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.7

Security for ip-locator 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page