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