Geolocation package in ubuntu for python


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: It is an IP geolocation website with an API you could use in python. It may not be very accurate though.