Skip to Content
Mastering Python for Networking and Security
book

Mastering Python for Networking and Security

by José Manuel Ortega
September 2018
Intermediate to advanced
426 pages
10h 46m
English
Packt Publishing
Content preview from Mastering Python for Networking and Security

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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering Python for Networking and Security - Second Edition

Mastering Python for Networking and Security - Second Edition

José Manuel Ortega
Python for Cybersecurity

Python for Cybersecurity

Howard E. Poston, III

Publisher Resources

ISBN: 9781788992510Supplemental Content