/IPAtlas

IPAtlas utilizes python's geoip2 library, Maxmind's free geolite2 database, and Basemap to create a map based on and IP list

Primary LanguagePython

IPAtlas

IPAtlas utilizes python's geoip2 library, Maxmind's free geolite2 database, and Basemap to create a map based on and IP list

Created by: Graham Thomas

Features

The following required functionality is complete:

  • Parse through file and find latitude and longitude based on IP
  • Map IPs to a map using Basemap library

Potential future improvements:

  • Add IP labels to the map

Video Walkthrough

alt text

GIF created with LiceCap.

Library's Used

Basemap - https://matplotlib.org/basemap/

Maxmind's Database - http://dev.maxmind.com/geoip/geoip2/geolite2/

GeoIP2 - https://pypi.python.org/pypi/geoip2

INSTALLATION

  1. Install mpl_toolkits pip install --ignore-installed pyparsing --upgrade mpl_toolkits

  2. Then install Basemap using the instructions in the README https://github.com/matplotlib/basemap

  3. I was missing the dependency pip install pyproj

  4. Download ip_map.mmdb (GeoLite2 City Database binary/gzipped) http://dev.maxmind.com/geoip/geoip2/geolite2/

  5. Profit