This week I needed to find out where users were connecting from to one of our platforms at Palmtree Statistics. The HTTP request always provides the client’s IP, which was enough, but I wanted to get something more.

Torip is an open source project based on the Tornado Networking Library. Torip gives you information such as the city, the country, or a Google Maps URL pointing to the client’s location.

If you use the Tornado Web Framework and Python 3, you can take advantage of Torip.

Enjoy!