Chapter 12: Extracting Geolocation and Metadata from Documents, Images, and Browsers

  1. Which Python module allows us to retrieve geographic information from an IP address?

pygeoip allows you to retrieve geographic information from an IP address. It is based on GeoIP databases, which are distributed in several files depending on their type (the types are city, region, country, ISP).

  1. Which module uses Google Geocoding API v3 services to retrieve the coordinates of a specific address?

pygeocoder is a Python module that facilitates the use of Google's geolocation functionality. With this module, you can easily find addresses corresponding to coordinates and vice versa. We can also use it to validate and format addresses.

  1. What is the main ...

Get Mastering Python for Networking and Security now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.