dzumq/Ultimate-IP-Locator ? reverse-engineered prompt

Reverse engineered prompt

Build me a simple Python command line tool that lets me enter an IP address and then shows me its location details using ipinfo.io.

I want it to be easy to run from the terminal, with colored output so the results are easy to read. If the user does not type an IP, it should still handle that nicely, maybe by asking again or showing a helpful message. Please keep the setup simple, just a couple of Python dependencies, and make sure the script works with Python 3.

I’d like it to show the useful info people usually want, like city, region, country, timezone, and any other basic location details the API returns. If the API call fails or the IP is invalid, show a friendly error instead of crashing.

If you need to check the latest usage details for the ipinfo service or library behavior, look them up online first.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab