/ 05 — Tooling

IP-Data

A Python tool that geolocates any public IP and renders its location on an interactive map you can open in the browser.

Role
Solo Developer
Timeframe
2024
Status
Shipped
[ ip-data · folium map ]
PythonFoliumRequests
01 / Problem

Looking up where an IP address resolves usually means bouncing between a half-dozen websites — and none of them just hand you a map you can keep.

02 / Approach

Validate the input, query IP-API for location data, refine coordinates with Google’s Geolocation API, and render the result as an interactive Folium map saved to a standalone HTML file.

03 / What I built

IP lookup pipeline

Input validation, IP-API geolocation, and a Google Geolocation pass for more accurate coordinates.

Map generation

Generates an interactive, centered map with Folium and writes it to a self-contained map.html.

04 / Outcome
2 APIs
IP-API + Google Geolocation
Folium
interactive HTML map output
05 / Learnings

Stitching a couple of focused APIs together with a clean output format turns a tedious manual task into a one-command tool — the kind of small utility you actually keep around.