Geolocation package in ubuntu for python

advertisements

How to install geolocation package in ubuntu for python?

I want to get data using geolocation like city, postalcode, etc.

how to get city, country using postal code, would please you suggest me any library


This might be of some use: http://www.hostip.info/use.html It is an IP geolocation website with an API you could use in python. It may not be very accurate though.